aboutsummaryrefslogtreecommitdiff
path: root/comms/tilp2
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2013-04-22 19:36:24 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2013-04-22 19:36:24 +0000
commit56fc4717cd8e4025499591bb0730934b4b256798 (patch)
tree6a8e1ddd15a37f8c5a29a6125967541d2723bf04 /comms/tilp2
parent04ef095847757ba36f7232a82ee92ed2b6487585 (diff)
downloadports-56fc4717cd8e4025499591bb0730934b4b256798.tar.gz
ports-56fc4717cd8e4025499591bb0730934b4b256798.zip
Notes
Diffstat (limited to 'comms/tilp2')
-rw-r--r--comms/tilp2/Makefile46
-rw-r--r--comms/tilp2/distinfo4
-rw-r--r--comms/tilp2/pkg-plist31
3 files changed, 42 insertions, 39 deletions
diff --git a/comms/tilp2/Makefile b/comms/tilp2/Makefile
index 6934d6f2e408..8047429bb9d3 100644
--- a/comms/tilp2/Makefile
+++ b/comms/tilp2/Makefile
@@ -1,13 +1,7 @@
-# New ports collection makefile for: tilp2
-# Date created: 11 October 2006
-# Whom: Tijl Coosemans <tijl@ulyssis.org>
-#
# $FreeBSD$
-#
PORTNAME= tilp2
-PORTVERSION= 1.16
-PORTREVISION= 1
+PORTVERSION= 1.17
CATEGORIES= comms
MASTER_SITES= SF/tilp/tilp2-linux/${DISTNAME}
@@ -16,33 +10,39 @@ COMMENT= TI Linking Program
LICENSE= GPLv2
-LIB_DEPENDS= ticables2.5:${PORTSDIR}/comms/libticables2 \
- tifiles2.8:${PORTSDIR}/devel/libtifiles2 \
- ticalcs2.10:${PORTSDIR}/comms/libticalcs2 \
- ticonv.6:${PORTSDIR}/converters/libticonv
+LIB_DEPENDS= ticables2:${PORTSDIR}/comms/libticables2 \
+ tifiles2:${PORTSDIR}/devel/libtifiles2 \
+ ticalcs2:${PORTSDIR}/comms/libticalcs2 \
+ ticonv:${PORTSDIR}/converters/libticonv
-USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USE_GMAKE= yes
-USE_PKGCONFIG= yes
-USE_GNOME= gtk20 libglade2
+USE_GNOME= gtk20
+USE_PKGCONFIG= build
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT= yes
-PLIST_SUB= NLS=""
-.else
-CONFIGURE_ARGS= --disable-nls
-PLIST_SUB= NLS="@comment "
-.endif
+OPTIONS_DEFINE= NLS
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-kde
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS+= --without-kde
-MAN1= tilp.1
+MAN1= tilp.1
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT= yes
+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' \
${WRKSRC}/configure ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' ${WRKSRC}/src/bookmark.c
.include <bsd.port.mk>
diff --git a/comms/tilp2/distinfo b/comms/tilp2/distinfo
index 93f608d6ef9e..646fa5a4d3a1 100644
--- a/comms/tilp2/distinfo
+++ b/comms/tilp2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tilp2-1.16.tar.bz2) = 8064c045d90f734d10c0c3baa9d61f46ac6c6c1af3fc3c96255c4d6cb27a325d
-SIZE (tilp2-1.16.tar.bz2) = 2837735
+SHA256 (tilp2-1.17.tar.bz2) = 0bc744463450843c0f1e9deebf45af84a282304aff37865077ca7146d54ff6e7
+SIZE (tilp2-1.17.tar.bz2) = 892549
diff --git a/comms/tilp2/pkg-plist b/comms/tilp2/pkg-plist
index 75905b38fde8..0f53855d5deb 100644
--- a/comms/tilp2/pkg-plist
+++ b/comms/tilp2/pkg-plist
@@ -5,20 +5,24 @@ share/mime/packages/tilp.xml
%%DATADIR%%/COPYING
%%DATADIR%%/Manpage.txt
%%DATADIR%%/RELEASE
+%%DATADIR%%/builder/action.ui
+%%DATADIR%%/builder/backupdbox.ui
+%%DATADIR%%/builder/clist_rbm.ui
+%%DATADIR%%/builder/clock.ui
+%%DATADIR%%/builder/ctree_rbm.ui
+%%DATADIR%%/builder/device.ui
+%%DATADIR%%/builder/entrydbox.ui
+%%DATADIR%%/builder/manpage.ui
+%%DATADIR%%/builder/options.ui
+%%DATADIR%%/builder/pbar1.ui
+%%DATADIR%%/builder/pbar2.ui
+%%DATADIR%%/builder/pbar3.ui
+%%DATADIR%%/builder/pbar4.ui
+%%DATADIR%%/builder/pbar5.ui
+%%DATADIR%%/builder/release.ui
+%%DATADIR%%/builder/screenopts.ui
+%%DATADIR%%/builder/screenshot.ui
%%DATADIR%%/builder/tilp.ui
-%%DATADIR%%/glade/action-2.glade
-%%DATADIR%%/glade/clist_rbm-2.glade
-%%DATADIR%%/glade/clock-2.glade
-%%DATADIR%%/glade/ctree_rbm-2.glade
-%%DATADIR%%/glade/device-2.glade
-%%DATADIR%%/glade/manpage-2.glade
-%%DATADIR%%/glade/options-2.glade
-%%DATADIR%%/glade/pbars-2.glade
-%%DATADIR%%/glade/release-2.glade
-%%DATADIR%%/glade/screenopts-2.glade
-%%DATADIR%%/glade/screenshot-2.glade
-%%DATADIR%%/glade/tilp-2.glade
-%%DATADIR%%/glade/user_boxes-2.glade
%%DATADIR%%/help/FAQ.html
%%DATADIR%%/help/Image12.png
%%DATADIR%%/help/Image13.png
@@ -121,7 +125,6 @@ share/mime/packages/tilp.xml
@dirrm %%DATADIR%%/pixmaps
@dirrm %%DATADIR%%/icons
@dirrm %%DATADIR%%/help
-@dirrm %%DATADIR%%/glade
@dirrm %%DATADIR%%/builder
@dirrm %%DATADIR%%
@dirrmtry share/mime/packages