Lines 7-28
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= znibbles |
8 |
PORTNAME= znibbles |
9 |
PORTVERSION= 0.0.7 |
9 |
PORTVERSION= 0.0.7 |
10 |
PORTREVISION= 5 |
10 |
PORTREVISION= 6 |
11 |
CATEGORIES= games |
11 |
CATEGORIES= games |
12 |
MASTER_SITES= http://koala.ilog.fr/ftp/pub/games/znibbles/ |
12 |
MASTER_SITES= http://old.koalateam.com/ftp/pub/games/znibbles/ \ |
|
|
13 |
http://www.jfouffa.com/vmallet/archives/ |
13 |
|
14 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= A multi-player networked nibbles game |
16 |
COMMENT= A multi-player networked nibbles game |
16 |
|
17 |
|
17 |
DEPRECATED= No more public distfiles |
18 |
LICENSE= GPLv2 GPLv3 |
18 |
EXPIRATION_DATE= 2011-09-01 |
19 |
LICENSE_COMB= dual |
|
|
20 |
|
21 |
OPTIONS= GTK "Build GTK+ client" on |
19 |
|
22 |
|
20 |
USE_MOTIF= yes |
23 |
USE_MOTIF= yes |
21 |
USE_GNOME= gtk12 |
24 |
WANT_GNOME= yes |
22 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
23 |
CONFIGURE_ARGS= --without-motif \ |
26 |
MAKE_JOBS_SAFE= yes |
24 |
--disable-motif |
27 |
|
|
|
28 |
MAN6= nibbles.6 znibbles.6 znibblesX.6 |
29 |
PLIST_FILES= bin/nibbles bin/znibbles bin/znibblesX |
30 |
|
31 |
.include <bsd.port.pre.mk> |
25 |
|
32 |
|
26 |
MAN6= nibbles.6 znibbles.6 gznibbles.6 znibblesX.6 |
33 |
.if defined(WITHOUT_GTK) |
|
|
34 |
CONFIGURE_ARGS+=--disable-gtk |
35 |
.else |
36 |
USE_GNOME+= gtk12 |
37 |
MAN6+= gznibbles.6 |
38 |
PLIST_FILES+= bin/gznibbles |
39 |
.endif |
40 |
|
41 |
post-extract: |
42 |
@${RM} -f ${WRKSRC}/src/getopt.h |
43 |
# @${LN} -sf /usr/include/getopt.h ${WRKSRC}/src |
44 |
|
45 |
post-patch: |
46 |
@${REINPLACE_CMD} -e \ |
47 |
'/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in |
48 |
@${REINPLACE_CMD} -e \ |
49 |
'/^getopt/d ; \ |
50 |
s|getopt.[cho]||g ; \ |
51 |
s|getopt1.[co]||g' ${WRKSRC}/src/Makefile.in |
52 |
.for dir in GTK Motif X11 |
53 |
@${REINPLACE_CMD} -e \ |
54 |
's|../getopt.h||g' ${WRKSRC}/src/${dir}/Makefile.in |
55 |
.endfor |
56 |
|
57 |
post-install: |
58 |
${INSTALL_MAN} ${WRKSRC}/doc/nibbles.6 ${MAN6PREFIX}/man/man6 |
59 |
${INSTALL_MAN} ${WRKSRC}/doc/znibbles.6 ${MAN6PREFIX}/man/man6 |
60 |
${INSTALL_MAN} ${WRKSRC}/doc/znibblesX.6 ${MAN6PREFIX}/man/man6 |
61 |
.if !defined(WITHOUT_GTK) |
62 |
${INSTALL_MAN} ${WRKSRC}/doc/gznibbles.6 ${MAN6PREFIX}/man/man6 |
63 |
.endif |
27 |
|
64 |
|
28 |
.include <bsd.port.mk> |
65 |
.include <bsd.port.post.mk> |