aboutsummaryrefslogtreecommitdiffstats
path: root/comms/tilp2
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2013-10-23 00:07:24 +0800
committertijl <tijl@FreeBSD.org>2013-10-23 00:07:24 +0800
commit3ed0c04ffcd758bc778b173518b7b4890fb5a575 (patch)
tree95098c67ccb4d923368ec917c3eabbcbf83cf205 /comms/tilp2
parentf06136a571f2f112c69b049f13947be3e58eeec9 (diff)
downloadfreebsd-ports-gnome-3ed0c04ffcd758bc778b173518b7b4890fb5a575.tar.gz
freebsd-ports-gnome-3ed0c04ffcd758bc778b173518b7b4890fb5a575.tar.zst
freebsd-ports-gnome-3ed0c04ffcd758bc778b173518b7b4890fb5a575.zip
- Support staging.
- New LIB_DEPENDS syntax. - USES=gmake desktop-file-utils shared-mime-info. - Options helpers.
Diffstat (limited to 'comms/tilp2')
-rw-r--r--comms/tilp2/Makefile29
-rw-r--r--comms/tilp2/pkg-plist1
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