svn commit: r331284 - head/devel/libtifiles2
Tijl Coosemans
tijl at FreeBSD.org
Tue Oct 22 16:01:24 UTC 2013
Author: tijl
Date: Tue Oct 22 16:01:23 2013
New Revision: 331284
URL: http://svnweb.freebsd.org/changeset/ports/331284
Log:
- Support staging.
- New LIB_DEPENDS syntax.
- USES=gmake.
- Options helpers.
- Make the Requires field private in pkgconfig file.
Modified:
head/devel/libtifiles2/Makefile
Modified: head/devel/libtifiles2/Makefile
==============================================================================
--- head/devel/libtifiles2/Makefile Tue Oct 22 15:59:35 2013 (r331283)
+++ head/devel/libtifiles2/Makefile Tue Oct 22 16:01:23 2013 (r331284)
@@ -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 librar
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 <bsd.port.options.mk>
-
-.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 <bsd.port.mk>
More information about the svn-ports-head
mailing list