Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2014 17:28:57 +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: r349163 - head/emulators/tiemu3
Message-ID:  <201403251728.s2PHSvpB002517@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Tue Mar 25 17:28:57 2014
New Revision: 349163
URL: http://svnweb.freebsd.org/changeset/ports/349163
QAT: https://qat.redports.org/buildarchive/r349163/

Log:
  - New LIB_DEPENDS syntax.
  - Use option helpers.
  - Staging.
  
  PR:		ports/187684
  Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)

Modified:
  head/emulators/tiemu3/Makefile
  head/emulators/tiemu3/pkg-plist

Modified: head/emulators/tiemu3/Makefile
==============================================================================
--- head/emulators/tiemu3/Makefile	Tue Mar 25 17:25:17 2014	(r349162)
+++ head/emulators/tiemu3/Makefile	Tue Mar 25 17:28:57 2014	(r349163)
@@ -12,9 +12,9 @@ EXTRACT_SUFX=	-nogdb.tar.gz
 MAINTAINER=	cyberbotx@cyberbotx.com
 COMMENT=	TI89(ti)/92(+)/V200 hand-helds emulator
 
-LIB_DEPENDS=	ticalcs2:${PORTSDIR}/comms/libticalcs2 \
-		ticables2:${PORTSDIR}/comms/libticables2 \
-		tifiles2:${PORTSDIR}/devel/libtifiles2
+LIB_DEPENDS=	libticalcs2.so:${PORTSDIR}/comms/libticalcs2 \
+		libticables2.so:${PORTSDIR}/comms/libticables2 \
+		libtifiles2.so:${PORTSDIR}/devel/libtifiles2
 
 USES=		gmake pkgconfig
 USE_AUTOTOOLS=	libtool
@@ -23,25 +23,13 @@ USE_SDL=	sdl
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -export-dynamic
-CONFIGURE_ARGS=	--disable-gdb
-
-MAN1=		tiemu.1
-
-NO_STAGE=	yes
+CONFIGURE_ARGS=	--disable-gdb --without-kde
 
 OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	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
-
-CONFIGURE_ARGS+=	--without-kde
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 post-patch: .SILENT
 	${REINPLACE_CMD} -E 's,(install-data-am:).*$$,\1,' ${WRKSRC}/Makefile.in

Modified: head/emulators/tiemu3/pkg-plist
==============================================================================
--- head/emulators/tiemu3/pkg-plist	Tue Mar 25 17:25:17 2014	(r349162)
+++ head/emulators/tiemu3/pkg-plist	Tue Mar 25 17:28:57 2014	(r349163)
@@ -1,4 +1,5 @@
 bin/tiemu
+man/man1/tiemu.1.gz
 %%NLS%%share/locale/fr/LC_MESSAGES/tiemu.mo
 share/tiemu/Manpage.txt
 share/tiemu/glade/calc-2.glade



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