2013-07-10 08:55:28 +02:00
|
|
|
# Created by: Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw>
|
1999-11-01 05:10:49 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= znibbles
|
|
|
|
PORTVERSION= 0.0.7
|
2014-09-13 17:11:27 +02:00
|
|
|
PORTREVISION= 7
|
1999-11-01 05:10:49 +01:00
|
|
|
CATEGORIES= games
|
2011-08-12 21:53:09 +02:00
|
|
|
MASTER_SITES= http://old.koalateam.com/ftp/pub/games/znibbles/ \
|
|
|
|
http://www.jfouffa.com/vmallet/archives/
|
1999-11-01 05:10:49 +01:00
|
|
|
|
2008-12-25 04:13:51 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-11-16 02:47:44 +01:00
|
|
|
COMMENT= Multi-player networked nibbles game
|
1999-11-01 05:10:49 +01:00
|
|
|
|
2013-12-25 15:54:11 +01:00
|
|
|
LICENSE= GPLv2 # (or later)
|
2011-08-12 21:53:09 +02:00
|
|
|
|
2012-06-29 14:42:04 +02:00
|
|
|
OPTIONS_DEFINE= GTK1
|
|
|
|
OPTIONS_DEFAULT= GTK1
|
2011-08-02 19:04:00 +02:00
|
|
|
|
2013-07-10 08:55:28 +02:00
|
|
|
USES= motif
|
2000-10-05 08:36:23 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-08-12 21:53:09 +02:00
|
|
|
|
2013-11-16 02:47:44 +01:00
|
|
|
PLIST_FILES= bin/nibbles bin/znibbles bin/znibblesX \
|
|
|
|
man/man6/nibbles.6.gz man/man6/znibbles.6.gz \
|
|
|
|
man/man6/znibblesX.6.gz
|
2011-08-12 21:53:09 +02:00
|
|
|
|
2013-11-16 02:47:44 +01:00
|
|
|
GTK1_USE= GNOME=gtk12
|
2013-12-25 15:54:11 +01:00
|
|
|
GTK1_PLIST_FILES= bin/gznibbles man/man6/gznibbles.6.gz
|
2013-11-16 02:47:44 +01:00
|
|
|
GTK1_CONFIGURE_ENABLE= gtk
|
2011-08-12 21:53:09 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${RM} -f ${WRKSRC}/src/getopt.h
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^getopt/d ; \
|
|
|
|
s|getopt.[cho]||g ; \
|
|
|
|
s|getopt1.[co]||g' ${WRKSRC}/src/Makefile.in
|
|
|
|
.for dir in GTK Motif X11
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|../getopt.h||g' ${WRKSRC}/src/${dir}/Makefile.in
|
|
|
|
.endfor
|
1999-11-01 05:10:49 +01:00
|
|
|
|
2011-08-12 21:53:09 +02:00
|
|
|
post-install:
|
2013-12-25 15:54:11 +01:00
|
|
|
(cd ${WRKSRC}/doc && ${INSTALL_MAN} nibbles.6 znibbles.6 znibblesX.6 \
|
|
|
|
gznibbles.6 ${STAGEDIR}${MAN6PREFIX}/man/man6)
|
1999-11-01 05:10:49 +01:00
|
|
|
|
2012-06-29 14:42:04 +02:00
|
|
|
.include <bsd.port.mk>
|