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

(-)Makefile (-4 / +15 lines)
Lines 14-26 Link Here
14
MAINTAINER=	petef@databits.net
14
MAINTAINER=	petef@databits.net
15
15
16
USE_GMAKE=	yes
16
USE_GMAKE=	yes
17
GNU_CONFIGURE=	yes
18
USE_GTK=	yes
17
USE_GTK=	yes
19
USE_X_PREFIX=	yes
18
USE_X_PREFIX=	yes
19
20
GNU_CONFIGURE=	yes
21
CONFIGURE_ARGS+=	--enable-nls
22
23
.if defined(NOPORTDOCS)
24
MAKE_ENV+=	NOPORTDOCS=yes
25
.endif
26
27
PLIST_SUB=	DOPEWARS=${PKGNAME}
20
28
21
CONFIGURE_ARGS=	--enable-nls
29
MAN6=	dopewars.6
22
30
23
DOPEWARS=	${PKGNAME}
31
post-patch:
24
PLIST_SUB=	DOPEWARS=${DOPEWARS}
32
	@${PERL} -pi -e 's!/pixmaps!/dopewars/pixmaps!' \
33
		${WRKSRC}/src/Makefile.in
34
	@${PERL} -pi -e 's!dopewars.sco!dopewars/dopewars.sco!g' \
35
		${WRKSRC}/src/dopewars.c ${WRKSRC}/Makefile.in
25
36
26
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)pkg-plist (-15 / +34 lines)
Lines 1-16 Link Here
1
bin/dopewars
1
bin/dopewars
2
share/doc/%%DOPEWARS%%/aiplayer.html
2
%%PORTDOCS%%share/doc/%%DOPEWARS%%/aiplayer.html
3
share/doc/%%DOPEWARS%%/clientplay.html
3
%%PORTDOCS%%share/doc/%%DOPEWARS%%/clientplay.html
4
share/doc/%%DOPEWARS%%/commandline.html
4
%%PORTDOCS%%share/doc/%%DOPEWARS%%/commandline.html
5
share/doc/%%DOPEWARS%%/configfile.html
5
%%PORTDOCS%%share/doc/%%DOPEWARS%%/configfile.html
6
share/doc/%%DOPEWARS%%/credits.html
6
%%PORTDOCS%%share/doc/%%DOPEWARS%%/credits.html
7
share/doc/%%DOPEWARS%%/developer.html
7
%%PORTDOCS%%share/doc/%%DOPEWARS%%/developer.html
8
share/doc/%%DOPEWARS%%/i18n.html
8
%%PORTDOCS%%share/doc/%%DOPEWARS%%/i18n.html
9
share/doc/%%DOPEWARS%%/index.html
9
%%PORTDOCS%%share/doc/%%DOPEWARS%%/index.html
10
share/doc/%%DOPEWARS%%/installation.html
10
%%PORTDOCS%%share/doc/%%DOPEWARS%%/installation.html
11
share/doc/%%DOPEWARS%%/metaserver.html
11
%%PORTDOCS%%share/doc/%%DOPEWARS%%/metaserver.html
12
share/doc/%%DOPEWARS%%/server.html
12
%%PORTDOCS%%share/doc/%%DOPEWARS%%/server.html
13
share/doc/%%DOPEWARS%%/servercommands.html
13
%%PORTDOCS%%share/doc/%%DOPEWARS%%/servercommands.html
14
share/doc/%%DOPEWARS%%/windows.html
14
%%PORTDOCS%%share/doc/%%DOPEWARS%%/windows.html
15
share/dopewars.sco
15
share/dopewars/dopewars.sco
16
@dirrm share/doc/%%DOPEWARS%%
16
share/dopewars/pixmaps/dopewars-pill.png
17
share/dopewars/pixmaps/dopewars-shot.png
18
share/dopewars/pixmaps/dopewars-weed.png
19
share/locale/de/LC_MESSAGES/dopewars.mo
20
share/locale/pl/LC_MESSAGES/dopewars.mo
21
share/locale/pt_BR/LC_MESSAGES/dopewars.mo
22
share/gnome/apps/Games/dopewars.desktop
23
@unexec rmdir share/gnome/apps/Games 2>/dev/null || true
24
@unexec rmdir share/gnome/apps 2>/dev/null || true
25
@unexec rmdir share/gnome 2>/dev/null || true
26
@unexec rmdir share/locale/pt_BR/LC_MESSAGES 2>/dev/null || true
27
@unexec rmdir share/locale/pt_BR 2>/dev/null || true
28
@unexec rmdir share/locale/pl/LC_MESSAGES 2>/dev/null || true
29
@unexec rmdir share/locale/pl 2>/dev/null || true
30
@unexec rmdir share/locale/de/LC_MESSAGES 2>/dev/null || true
31
@unexec rmdir share/locale/de 2>/dev/null || true
32
@unexec rmdir share/locale 2>/dev/null || true
33
@dirrm share/dopewars/pixmaps
34
@dirrm share/dopewars
35
%%PORTDOCS%%@dirrm share/doc/%%DOPEWARS%%
(-)files/patch-doc::Makefile.in (+13 lines)
Added Link Here
1
--- doc/Makefile.in.orig	Mon Jun 18 20:46:56 2001
2
+++ doc/Makefile.in	Thu Aug  2 18:46:04 2001
3
@@ -248,8 +248,10 @@
4
 
5
 
6
 install-data-local:
7
+ifndef NOPORTDOCS
8
 	${INSTALL} -d -o root -g 0 -m 0755 ${DESTDIR}${DOCPATH}
9
 	${INSTALL} -o root -g 0 -m 0644 ${DOCS} ${DESTDIR}${DOCPATH}
10
+endif
11
 
12
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
13
 # Otherwise a system limit (for SysV at least) may be exceeded.

Return to bug 29402