diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2013-10-22 16:02:19 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2013-10-22 16:02:19 +0000 |
commit | f19c2149f8d17cfca41bb2033a6ee7553f6a5778 (patch) | |
tree | f8ba0e9eb2e13139413cbaae31eef7b56b141425 /comms | |
parent | 6084c6aff964007d70f3ab6f1220280c5f39cc58 (diff) | |
download | ports-f19c2149f8d17cfca41bb2033a6ee7553f6a5778.tar.gz ports-f19c2149f8d17cfca41bb2033a6ee7553f6a5778.zip |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/libticables2/Makefile | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/comms/libticables2/Makefile b/comms/libticables2/Makefile index 5ae58afc05c3..d0f6e0c8d656 100644 --- a/comms/libticables2/Makefile +++ b/comms/libticables2/Makefile @@ -2,6 +2,7 @@ PORTNAME= libticables2 PORTVERSION= 1.3.4 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= SF/tilp/tilp2-linux/tilp2-1.17 @@ -11,27 +12,22 @@ COMMENT= TI calculator link cables library LICENSE= GPLv2 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= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb" 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} -e 's/Requires/&.private/' ${WRKSRC}/ticables2.pc.in .include <bsd.port.mk> |