Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 16:07:24 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331289 - head/comms/tilp2
Message-ID:  <201310221607.r9MG7OVA095494@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Tue Oct 22 16:07:24 2013
New Revision: 331289
URL: http://svnweb.freebsd.org/changeset/ports/331289

Log:
  - Support staging.
  - New LIB_DEPENDS syntax.
  - USES=gmake desktop-file-utils shared-mime-info.
  - Options helpers.

Modified:
  head/comms/tilp2/Makefile
  head/comms/tilp2/pkg-plist

Modified: head/comms/tilp2/Makefile
==============================================================================
--- head/comms/tilp2/Makefile	Tue Oct 22 16:06:10 2013	(r331288)
+++ head/comms/tilp2/Makefile	Tue Oct 22 16:07:24 2013	(r331289)
@@ -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' \

Modified: head/comms/tilp2/pkg-plist
==============================================================================
--- head/comms/tilp2/pkg-plist	Tue Oct 22 16:06:10 2013	(r331288)
+++ head/comms/tilp2/pkg-plist	Tue Oct 22 16:07:24 2013	(r331289)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310221607.r9MG7OVA095494>