mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- Remove the indefinite article from COMMENT
- Use options helpers - Add stage support
This commit is contained in:
parent
44d3355649
commit
7fb0d382d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333966
@ -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,20 +21,16 @@ 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
|
||||
|
||||
GTK1_USE= GNOME=gtk12
|
||||
GTK1_PLIST_FILES= man/man6/gznibbles.6.gz bin/gznibbles
|
||||
GTK1_CONFIGURE_ENABLE= gtk
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGTK1}
|
||||
USE_GNOME+= gtk12
|
||||
MAN6+= gznibbles.6
|
||||
PLIST_FILES+= bin/gznibbles
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-gtk
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${RM} -f ${WRKSRC}/src/getopt.h
|
||||
# @${LN} -sf /usr/include/getopt.h ${WRKSRC}/src
|
||||
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user