diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2013-10-22 16:07:24 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2013-10-22 16:07:24 +0000 |
commit | e06a6fa4de83e704f39fe86dff3d6ce87acbdbc0 (patch) | |
tree | 95098c67ccb4d923368ec917c3eabbcbf83cf205 /comms | |
parent | 68ea242665158d0bb3206db1a5d457f207c9601f (diff) | |
download | ports-e06a6fa4de83e704f39fe86dff3d6ce87acbdbc0.tar.gz ports-e06a6fa4de83e704f39fe86dff3d6ce87acbdbc0.zip |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/tilp2/Makefile | 29 | ||||
-rw-r--r-- | comms/tilp2/pkg-plist | 1 |
2 files changed, 11 insertions, 19 deletions
diff --git a/comms/tilp2/Makefile b/comms/tilp2/Makefile index 11c00d5e30f0..001a3f2a3924 100644 --- a/comms/tilp2/Makefile +++ b/comms/tilp2/Makefile @@ -2,6 +2,7 @@ PORTNAME= tilp2 PORTVERSION= 1.17 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= SF/tilp/tilp2-linux/${DISTNAME} @@ -10,36 +11,26 @@ COMMENT= TI Linking Program LICENSE= GPLv2 -LIB_DEPENDS= ticables2:${PORTSDIR}/comms/libticables2 \ - tifiles2:${PORTSDIR}/devel/libtifiles2 \ - ticalcs2:${PORTSDIR}/comms/libticalcs2 \ - ticonv:${PORTSDIR}/converters/libticonv +LIB_DEPENDS= libticables2.so:${PORTSDIR}/comms/libticables2 \ + libtifiles2.so:${PORTSDIR}/devel/libtifiles2 \ + libticalcs2.so:${PORTSDIR}/comms/libticalcs2 \ + libticonv.so:${PORTSDIR}/converters/libticonv -USES= pkgconfig +USES= desktop-file-utils gmake pkgconfig shared-mime-info USE_BZIP2= yes -USE_GMAKE= yes USE_GNOME= gtk20 OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-kde CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN1= tilp.1 - -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,^ USE_NLS=yes$$,,' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ diff --git a/comms/tilp2/pkg-plist b/comms/tilp2/pkg-plist index 8c7f7d44f49f..255a60853582 100644 --- a/comms/tilp2/pkg-plist +++ b/comms/tilp2/pkg-plist @@ -1,4 +1,5 @@ bin/tilp +man/man1/tilp.1.gz share/applications/tilp.desktop %%NLS%%share/locale/fr/LC_MESSAGES/tilp2.mo share/mime/packages/tilp.xml |