diff options
author | makc <makc@FreeBSD.org> | 2012-07-27 19:03:38 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2012-07-27 19:03:38 +0800 |
commit | 7e9888a561c1f2a53cfeca5bf54f5278294df386 (patch) | |
tree | 167ee4bd8c4cd737246cf4e2c40f36e42042084e /games/frozenbubble | |
parent | 7c887ca2a204b4cd88ce46806edb8ea718e69d9e (diff) | |
download | freebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.tar.gz freebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.tar.zst freebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.zip |
- Convert my ports to new options framework
- use CONFLICTS_INSTALL
- other minor changes
Diffstat (limited to 'games/frozenbubble')
-rw-r--r-- | games/frozenbubble/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/games/frozenbubble/Makefile b/games/frozenbubble/Makefile index 46fb293e391d..2ea85c928458 100644 --- a/games/frozenbubble/Makefile +++ b/games/frozenbubble/Makefile @@ -30,7 +30,9 @@ MAN6= frozen-bubble-editor.6 frozen-bubble.6 LEXECDIR= ${PREFIX}/libexec/${PORTNAME} -.if !defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} RUN_DEPENDS+= p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext PLIST_SUB+= NLS="" .else @@ -54,24 +56,18 @@ pre-install: do-install: cd ${WRKSRC}/c_stuff && ${GMAKE} install - -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} cd ${WRKSRC}/po && ${GMAKE} install .endif - ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/frozen-bubble ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/frozen-bubble-editor ${PREFIX}/bin/ - ${INSTALL_MAN} ${MAN6:S,^,${WRKSRC}/doc/,} ${PREFIX}/man/man6/ - ${MKDIR} ${DATADIR} @(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "gfx snd data" ${DATADIR}/) - ${MKDIR} ${LEXECDIR} ${INSTALL_PROGRAM} ${WRKSRC}/server/fb-server ${LEXECDIR}/ post-install: - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |