summaryrefslogtreecommitdiff
path: root/devel/libassetml/Makefile
blob: 8b1d101d63f79f6b26cac51b2050579bdb1b7b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$

PORTNAME=	libassetml
PORTVERSION=	1.2.1
PORTREVISION=	12
CATEGORIES=	devel gnome
MASTER_SITES=	SF/ofset/${PORTNAME}/${PORTVERSION}

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Library to share image and audio files between projects

BUILD_DEPENDS=	texi2html:${PORTSDIR}/textproc/texi2html
LIB_DEPENDS=	libpopt.so:${PORTSDIR}/devel/popt

USES=		gettext gmake libtool:keepla makeinfo pathfix pkgconfig
USE_GNOME=	gnomeprefix glib20 libxml2
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
LDFLAGS+=	-L${LOCALBASE}/lib
CPPFLAGS+=	-I${LOCALBASE}/include
INSTALL_TARGET=	install-strip

INFO=	libassetml

post-patch:
	@${REINPLACE_CMD} -e 's,libdir)/locale,datadir)/locale,g' ${WRKSRC}/po/Makefile.in.in

post-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/assetml

.include <bsd.port.mk>