From e54dc7358921541134fb2c6f2b0b63f4c564e0df Mon Sep 17 00:00:00 2001 From: tijl Date: Tue, 22 Oct 2013 16:01:23 +0000 Subject: - Support staging. - New LIB_DEPENDS syntax. - USES=gmake. - Options helpers. - Make the Requires field private in pkgconfig file. --- devel/libtifiles2/Makefile | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'devel') diff --git a/devel/libtifiles2/Makefile b/devel/libtifiles2/Makefile index a90c5dbef68b..cf2014d21707 100644 --- a/devel/libtifiles2/Makefile +++ b/devel/libtifiles2/Makefile @@ -2,6 +2,7 @@ PORTNAME= libtifiles2 PORTVERSION= 1.1.6 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/tilp/tilp2-linux/tilp2-1.17 @@ -10,33 +11,26 @@ COMMENT= TI calculator file types library LICENSE= GPLv2 -LIB_DEPENDS= ticonv:${PORTSDIR}/converters/libticonv +LIB_DEPENDS= libticonv.so:${PORTSDIR}/converters/libticonv USE_BZIP2= yes -USE_GMAKE= yes USE_GNOME= glib20 USE_LDCONFIG= yes -USES= pathfix pkgconfig +USES= gmake pathfix pkgconfig OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls GNU_CONFIGURE= yes CONFIGURE_ENV= ARCHIVE_CFLAGS=" " ARCHIVE_LIBS="-larchive" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif - post-patch: - @${REINPLACE_CMD} 's,libarchive,,' ${WRKSRC}/tifiles2.pc.in + @${REINPLACE_CMD} -e 's/libarchive/glib-2.0,ticonv/' \ + -e '/Requires:/d' ${WRKSRC}/tifiles2.pc.in .include -- cgit