Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135576592
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/games/gno3dtet/Makefile b/games/gno3dtet/Makefile
index dc9f2a2f87b8..f6ea4e5d4fa6 100644
--- a/games/gno3dtet/Makefile
+++ b/games/gno3dtet/Makefile
@@ -1,38 +1,48 @@
# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$
PORTNAME= gno3dtet
PORTVERSION= 1.96.1
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= games gnome
MASTER_SITES= http://eseb.net/ftp/gno3dtet/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME version of the classic 3D-ified T*tris
+LICENSE= GPLv2
+
EXTRACT_DEPENDS= intltoolize:${PORTSDIR}/textproc/intltool
-USES= pathfix gmake pkgconfig
+USES= pathfix gmake pkgconfig
USE_GNOME= gnomeprefix intlhack libgnomeui librsvg2
USE_AUTOTOOLS= autoheader automake aclocal autoconf
ACLOCAL_ARGS= -I m4 -I ${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= -a -c -f
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALLS_OMF= yes
-run-autotools:: run-autotools-aclocal run-autotools-autoheader \
- run-autotools-automake run-autotools-autoconf
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+
+NLS_USES= gettext
+
+.include <bsd.port.options.mk>
post-extract:
@cd ${WRKSRC} && ${LOCALBASE}/bin/intltoolize -c -f
post-patch:
- @${REINPLACE_CMD} -e '/LIBTOOL/d ; \
- s|gnome-games|gno3dtet|g' ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e '/LIBTOOL/d; \
+ s|gnome-games|gno3dtet|' ${WRKSRC}/configure.in
+
+.if ! ${PORT_OPTIONS:MNLS}
+ @${REINPLACE_CMD} -e '/^always_built_SUBDIRS/s|po||' ${WRKSRC}/Makefile.am
+.endif
pre-configure:
@${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/mkinstalldirs ${WRKSRC}
.include <bsd.port.mk>
diff --git a/games/gno3dtet/pkg-plist b/games/gno3dtet/pkg-plist
index 561f3dc0b23d..84a1c27a14b2 100644
--- a/games/gno3dtet/pkg-plist
+++ b/games/gno3dtet/pkg-plist
@@ -1,31 +1,31 @@
@group games
@mode 2555
bin/gno3dtet
@mode
@group
share/applications/gno3dtet.desktop
@group games
@mode 664
share/games/gno3dtet.hof
@mode
@group
share/gnome/help/gno3dtet/C/gno3dtet.xml
share/gnome/help/gno3dtet/C/legal.xml
share/omf/gno3dtet/gno3dtet-C.omf
share/pixmaps/gno3dtet.png
share/sounds/gno3dtet/danger.wav
share/sounds/gno3dtet/fall.wav
share/sounds/gno3dtet/hof.wav
share/sounds/gno3dtet/land.wav
share/sounds/gno3dtet/layer.wav
share/sounds/gno3dtet/level.wav
share/sounds/gno3dtet/new.wav
share/sounds/gno3dtet/pause.wav
share/sounds/gno3dtet/score.wav
share/sounds/gno3dtet/screwd.wav
-share/locale/fr/LC_MESSAGES/gno3dtet.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gno3dtet.mo
@dirrm share/sounds/gno3dtet
@dirrm share/omf/gno3dtet
@dirrm share/gnome/help/gno3dtet/C
@dirrm share/gnome/help/gno3dtet
@dirrmtry share/games
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Nov 12, 11:46 PM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25184855
Default Alt Text
(2 KB)
Attached To
Mode
R11 FreeBSD ports repository
Attached
Detach File
Event Timeline
Log In to Comment