summaryrefslogtreecommitdiff
path: root/emulators/tiemu3
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-03-25 17:28:57 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-03-25 17:28:57 +0000
commit627984965289805db114e2a13eb7eb97f73116ac (patch)
tree7f6f8ea79e1979cf3e778eff76a8ffb7ebbe4161 /emulators/tiemu3
parentFinaly pet rclint. (diff)
- New LIB_DEPENDS syntax.
- Use option helpers. - Staging. PR: ports/187684 Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Notes
Notes: svn path=/head/; revision=349163
Diffstat (limited to 'emulators/tiemu3')
-rw-r--r--emulators/tiemu3/Makefile26
-rw-r--r--emulators/tiemu3/pkg-plist1
2 files changed, 8 insertions, 19 deletions
diff --git a/emulators/tiemu3/Makefile b/emulators/tiemu3/Makefile
index 284143e3818a..e27396805d8e 100644
--- a/emulators/tiemu3/Makefile
+++ b/emulators/tiemu3/Makefile
@@ -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
diff --git a/emulators/tiemu3/pkg-plist b/emulators/tiemu3/pkg-plist
index 8ba7ec866b6c..5437a8bb83f1 100644
--- a/emulators/tiemu3/pkg-plist
+++ b/emulators/tiemu3/pkg-plist
@@ -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