diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-16 01:47:44 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-16 01:47:44 +0000 |
commit | 7fb0d382d1ffe3be47cbfcbaac1395346ca349f8 (patch) | |
tree | 7b5834ef8ab99290b0039aaa6a3490f829ff6383 /games/znibbles | |
parent | 44d33556492669c5cadf95efaa66dc116312023a (diff) | |
download | ports-7fb0d382d1ffe3be47cbfcbaac1395346ca349f8.tar.gz ports-7fb0d382d1ffe3be47cbfcbaac1395346ca349f8.zip |
Notes
Diffstat (limited to 'games/znibbles')
-rw-r--r-- | games/znibbles/Makefile | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/games/znibbles/Makefile b/games/znibbles/Makefile index 953ae7aa8daf..77de8b44ca56 100644 --- a/games/znibbles/Makefile +++ b/games/znibbles/Makefile @@ -9,7 +9,7 @@ MASTER_SITES= http://old.koalateam.com/ftp/pub/games/znibbles/ \ http://www.jfouffa.com/vmallet/archives/ MAINTAINER= ports@FreeBSD.org -COMMENT= A multi-player networked nibbles game +COMMENT= Multi-player networked nibbles game LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual @@ -21,19 +21,15 @@ USES= motif WANT_GNOME= yes GNU_CONFIGURE= yes -MAN6= nibbles.6 znibbles.6 znibblesX.6 -PLIST_FILES= bin/nibbles bin/znibbles bin/znibblesX +PLIST_FILES= bin/nibbles bin/znibbles bin/znibblesX \ + man/man6/nibbles.6.gz man/man6/znibbles.6.gz \ + man/man6/znibblesX.6.gz -NO_STAGE= yes -.include <bsd.port.options.mk> +GTK1_USE= GNOME=gtk12 +GTK1_PLIST_FILES= man/man6/gznibbles.6.gz bin/gznibbles +GTK1_CONFIGURE_ENABLE= gtk -.if ${PORT_OPTIONS:MGTK1} -USE_GNOME+= gtk12 -MAN6+= gznibbles.6 -PLIST_FILES+= bin/gznibbles -.else -CONFIGURE_ARGS+=--disable-gtk -.endif +.include <bsd.port.options.mk> post-extract: @${RM} -f ${WRKSRC}/src/getopt.h @@ -52,11 +48,11 @@ post-patch: .endfor post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/nibbles.6 ${MAN6PREFIX}/man/man6 - ${INSTALL_MAN} ${WRKSRC}/doc/znibbles.6 ${MAN6PREFIX}/man/man6 - ${INSTALL_MAN} ${WRKSRC}/doc/znibblesX.6 ${MAN6PREFIX}/man/man6 + ${INSTALL_MAN} ${WRKSRC}/doc/nibbles.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 + ${INSTALL_MAN} ${WRKSRC}/doc/znibbles.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 + ${INSTALL_MAN} ${WRKSRC}/doc/znibblesX.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 .if ${PORT_OPTIONS:MGTK1} - ${INSTALL_MAN} ${WRKSRC}/doc/gznibbles.6 ${MAN6PREFIX}/man/man6 + ${INSTALL_MAN} ${WRKSRC}/doc/gznibbles.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 .endif .include <bsd.port.mk> |