View | Details | Raw Unified | Return to bug 95886
Collapse All | Expand All

(-)dopewars/Makefile (-10 / +13 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	dopewars
8
PORTNAME=	dopewars
9
PORTVERSION=	1.5.9
9
PORTVERSION=	1.5.12
10
PORTREVISION=	2
11
CATEGORIES=	games
10
CATEGORIES=	games
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
13
		http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/
12
		http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/
Lines 21-45 Link Here
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
USE_GNOME=	gtk12
21
USE_GNOME=	gtk12
23
USE_X_PREFIX=	yes
22
USE_X_PREFIX=	yes
24
USE_REINPLACE=	yes
25
23
26
CONFIGURE_ARGS=	--enable-networking --disable-plugins
24
CONFIGURE_ARGS=	--enable-networking --disable-plugins --localstatedir=${DATADIR}
27
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
28
		LDFLAGS="-L${LOCALBASE}/lib"
26
		LDFLAGS="-L${LOCALBASE}/lib"
29
27
30
.if defined(NOPORTDOCS)
28
PORTDOCS=	ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README TODO
31
MAKE_ENV+=	NOPORTDOCS=yes
32
.endif
33
34
MAN6=	dopewars.6
29
MAN6=	dopewars.6
35
30
36
post-patch:
31
post-patch:
37
	@${REINPLACE_CMD} -e 's!/pixmaps!/dopewars/pixmaps!' \
32
	@${REINPLACE_CMD} -e 's!/pixmaps!/dopewars/pixmaps!' \
38
		${WRKSRC}/src/Makefile.in
33
		${WRKSRC}/src/Makefile.in
39
	@${REINPLACE_CMD} -e 's!dopewars.sco!dopewars/dopewars.sco!g' \
40
		${WRKSRC}/src/dopewars.c ${WRKSRC}/Makefile.in
41
	@${REINPLACE_CMD} -e 's!^CFLAGS =!CFLAGS = \@GLIB_CFLAGS\@!' \
34
	@${REINPLACE_CMD} -e 's!^CFLAGS =!CFLAGS = \@GLIB_CFLAGS\@!' \
42
		${WRKSRC}/src/gui_client/Makefile.in \
35
		${WRKSRC}/src/gui_client/Makefile.in \
43
		${WRKSRC}/src/curses_client/Makefile.in
36
		${WRKSRC}/src/curses_client/Makefile.in
37
	@${REINPLACE_CMD} -e 's!install-recursive!!g' ${WRKSRC}/doc/Makefile.in
38
39
post-install:
40
.ifndef NOPORTDOCS
41
	@${INSTALL} -d ${DOCSDIR}/help
42
	@${INSTALL_DATA} ${WRKSRC}/doc/*html ${WRKSRC}/doc/example* ${DOCSDIR}/
43
	@${INSTALL_DATA} ${WRKSRC}/doc/help/*html ${DOCSDIR}/help/
44
	@${INSTALL_DATA} ${PORTDOCS:S.^.${WRKSRC}/.} ${DOCSDIR}/
45
	@${INSTALL_MAN} ${WRKSRC}/doc/dopewars.6 ${MAN6PREFIX}/man/man6/
46
.endif
44
47
45
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)dopewars/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (dopewars-1.5.9.tar.gz) = 77cdbc59e7550cfda7dfb7f6b7a01050
1
MD5 (dopewars-1.5.12.tar.gz) = debf749de9053dc2fb2e74c37ae06206
2
SHA256 (dopewars-1.5.9.tar.gz) = 5ef6a8192befaa742f2bae8f622d74d814850642eb62e5b4fcd635be98630444
2
SHA256 (dopewars-1.5.12.tar.gz) = 23059dcdea96c6072b148ee21d76237ef3535e5be90b3b2d8239d150feee0c19
3
SIZE (dopewars-1.5.9.tar.gz) = 1181836
3
SIZE (dopewars-1.5.12.tar.gz) = 1419725
(-)dopewars/files/patch-doc::Makefile.in (-27 lines)
Lines 1-27 Link Here
1
2
$FreeBSD: ports/games/dopewars/files/patch-doc::Makefile.in,v 1.5 2003/03/04 21:44:27 naddy Exp $
3
4
--- doc/Makefile.in.orig	Mon Oct 21 13:09:21 2002
5
+++ doc/Makefile.in	Tue Mar  4 19:35:58 2003
6
@@ -132,7 +132,7 @@
7
 install_sh = @install_sh@
8
 localedir = @localedir@
9
 plugindir = @plugindir@
10
-DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}-${VERSION}/
11
+DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}/
12
 DOCS = aiplayer.html configfile.html index.html i18n.html \
13
                  server.html clientplay.html credits.html example-cfg \
14
                  installation.html servercommands.html commandline.html \
15
@@ -449,10 +449,12 @@
16
 
17
 
18
 install-data-local:
19
+ifndef NOPORTDOCS
20
 	${INSTALL} -d -m 0755 ${DOCPATH}
21
 	for doc in ${DOCS}; do \
22
 	  ${INSTALL} -m 0644 ${srcdir}/$${doc} ${DOCPATH}; \
23
 	done
24
+endif
25
 
26
 uninstall-local:
27
 	for doc in ${DOCS}; do \
(-)dopewars/files/patch-doc::help::Makefile.in (-14 lines)
Lines 1-14 Link Here
1
2
$FreeBSD: ports/games/dopewars/files/patch-doc::help::Makefile.in,v 1.1 2003/03/04 21:44:27 naddy Exp $
3
4
--- doc/help/Makefile.in.orig	Tue Mar  4 19:36:07 2003
5
+++ doc/help/Makefile.in	Tue Mar  4 19:36:19 2003
6
@@ -132,7 +132,7 @@
7
 install_sh = @install_sh@
8
 localedir = @localedir@
9
 plugindir = @plugindir@
10
-DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}-${VERSION}/help
11
+DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}/help
12
 DOCS = cops.html general.html locations.html sounds.html \
13
              drugs.html guns.html server.html
14
 
(-)dopewars/pkg-descr (-1 / +1 lines)
Lines 5-11 Link Here
5
introduces new features such as the ability to take part in
5
introduces new features such as the ability to take part in
6
multi-player games.
6
multi-player games.
7
7
8
WWW: http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/
8
WWW: http://dopewars.sourceforge.net/
9
9
10
- Pete
10
- Pete
11
petef@FreeBSD.org
11
petef@FreeBSD.org
(-)dopewars/pkg-plist (-46 / +44 lines)
Lines 1-46 Link Here
1
@comment $FreeBSD: ports/games/dopewars/pkg-plist,v 1.16 2006/01/22 02:10:59 edwin Exp $
2
bin/dopewars
1
bin/dopewars
3
%%PORTDOCS%%share/doc/dopewars/LICENCE
2
%%PORTDOCS%%%%DOCSDIR%%/aiplayer.html
4
%%PORTDOCS%%share/doc/dopewars/aiplayer.html
3
%%PORTDOCS%%%%DOCSDIR%%/clientplay.html
5
%%PORTDOCS%%share/doc/dopewars/clientplay.html
4
%%PORTDOCS%%%%DOCSDIR%%/commandline.html
6
%%PORTDOCS%%share/doc/dopewars/commandline.html
5
%%PORTDOCS%%%%DOCSDIR%%/configfile.html
7
%%PORTDOCS%%share/doc/dopewars/configfile.html
6
%%PORTDOCS%%%%DOCSDIR%%/contribute.html
8
%%PORTDOCS%%share/doc/dopewars/contribute.html
7
%%PORTDOCS%%%%DOCSDIR%%/credits.html
9
%%PORTDOCS%%share/doc/dopewars/credits.html
8
%%PORTDOCS%%%%DOCSDIR%%/developer.html
10
%%PORTDOCS%%share/doc/dopewars/developer.html
9
%%PORTDOCS%%%%DOCSDIR%%/example-cfg
11
%%PORTDOCS%%share/doc/dopewars/example-cfg
10
%%PORTDOCS%%%%DOCSDIR%%/example-igneous
12
%%PORTDOCS%%share/doc/dopewars/help/cops.html
11
%%PORTDOCS%%%%DOCSDIR%%/help/cops.html
13
%%PORTDOCS%%share/doc/dopewars/help/drugs.html
12
%%PORTDOCS%%%%DOCSDIR%%/help/drugs.html
14
%%PORTDOCS%%share/doc/dopewars/help/general.html
13
%%PORTDOCS%%%%DOCSDIR%%/help/general.html
15
%%PORTDOCS%%share/doc/dopewars/help/guns.html
14
%%PORTDOCS%%%%DOCSDIR%%/help/guns.html
16
%%PORTDOCS%%share/doc/dopewars/help/locations.html
15
%%PORTDOCS%%%%DOCSDIR%%/help/locations.html
17
%%PORTDOCS%%share/doc/dopewars/help/server.html
16
%%PORTDOCS%%%%DOCSDIR%%/help/server.html
18
%%PORTDOCS%%share/doc/dopewars/help/sounds.html
17
%%PORTDOCS%%%%DOCSDIR%%/help/sounds.html
19
%%PORTDOCS%%share/doc/dopewars/i18n.html
18
%%PORTDOCS%%%%DOCSDIR%%/i18n.html
20
%%PORTDOCS%%share/doc/dopewars/index.html
19
%%PORTDOCS%%%%DOCSDIR%%/index.html
21
%%PORTDOCS%%share/doc/dopewars/installation.html
20
%%PORTDOCS%%%%DOCSDIR%%/installation.html
22
%%PORTDOCS%%share/doc/dopewars/metaserver.html
21
%%PORTDOCS%%%%DOCSDIR%%/metaserver.html
23
%%PORTDOCS%%share/doc/dopewars/protocol.html
22
%%PORTDOCS%%%%DOCSDIR%%/protocol.html
24
%%PORTDOCS%%share/doc/dopewars/server.html
23
%%PORTDOCS%%%%DOCSDIR%%/server.html
25
%%PORTDOCS%%share/doc/dopewars/servercommands.html
24
%%PORTDOCS%%%%DOCSDIR%%/servercommands.html
26
%%PORTDOCS%%share/doc/dopewars/windows.html
25
%%PORTDOCS%%%%DOCSDIR%%/windows.html
27
share/dopewars/dopewars.sco
26
%%DATADIR%%/dopewars.sco
28
share/dopewars/bye.wav
27
%%DATADIR%%/bye.wav
29
share/dopewars/colt.wav
28
%%DATADIR%%/colt.wav
30
share/dopewars/die.wav
29
%%DATADIR%%/die.wav
31
share/dopewars/gun.wav
30
%%DATADIR%%/gun.wav
32
share/dopewars/jet.wav
31
%%DATADIR%%/jet.wav
33
share/dopewars/losebitch.wav
32
%%DATADIR%%/losebitch.wav
34
share/dopewars/message.wav
33
%%DATADIR%%/message.wav
35
share/dopewars/murmur.wav
34
%%DATADIR%%/murmur.wav
36
share/dopewars/punch.wav
35
%%DATADIR%%/punch.wav
37
share/dopewars/run.wav
36
%%DATADIR%%/run.wav
38
share/dopewars/shotdown.wav
37
%%DATADIR%%/shotdown.wav
39
share/dopewars/train.wav
38
%%DATADIR%%/train.wav
40
@unexec if [ ! -s %D/share/dopewars/dopewars.sco.bak ]; then rm -f %D/share/dopewars/dopewars.sco.bak; fi
39
@unexec if [ ! -s %D/%%DATADIR%%/dopewars.sco.bak ]; then rm -f %D/%%DATADIR%%/dopewars.sco.bak; fi
41
share/dopewars/pixmaps/dopewars-pill.png
40
%%DATADIR%%/pixmaps/dopewars-pill.png
42
share/dopewars/pixmaps/dopewars-shot.png
41
%%DATADIR%%/pixmaps/dopewars-shot.png
43
share/dopewars/pixmaps/dopewars-weed.png
42
%%DATADIR%%/pixmaps/dopewars-weed.png
44
share/locale/de/LC_MESSAGES/dopewars.mo
43
share/locale/de/LC_MESSAGES/dopewars.mo
45
share/locale/es/LC_MESSAGES/dopewars.mo
44
share/locale/es/LC_MESSAGES/dopewars.mo
46
share/locale/fr/LC_MESSAGES/dopewars.mo
45
share/locale/fr/LC_MESSAGES/dopewars.mo
Lines 51-57 Link Here
51
@dirrmtry share/gnome/apps/Games
50
@dirrmtry share/gnome/apps/Games
52
@dirrmtry share/gnome/apps
51
@dirrmtry share/gnome/apps
53
@dirrmtry share/gnome
52
@dirrmtry share/gnome
54
@dirrm share/dopewars/pixmaps
53
@dirrm %%DATADIR%%/pixmaps
55
@dirrm share/dopewars
54
@dirrm %%DATADIR%%
56
%%PORTDOCS%%@dirrm share/doc/dopewars/help
55
%%PORTDOCS%%@dirrm %%DOCSDIR%%/help
57
%%PORTDOCS%%@dirrm share/doc/dopewars

Return to bug 95886