o support NOPORTDOCS

o add missing manpage
o fix PLIST
o remove files/patch-aa
o add files/patch-doc::Makefile.in

PR:		29402
Submitted by:	maintainer
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-08-03 03:19:25 +00:00
parent 5be56581a4
commit ee370c82be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45755
4 changed files with 53 additions and 28 deletions

View File

@ -20,7 +20,18 @@ USE_X_PREFIX= yes
CONFIGURE_ARGS= --enable-nls
DOPEWARS= ${PKGNAME}
PLIST_SUB= DOPEWARS=${DOPEWARS}
.if defined(NOPORTDOCS)
MAKE_ENV+= NOPORTDOCS=yes
.endif
PLIST_SUB= DOPEWARS=${PKGNAME}
MAN6= dopewars.6
post-patch:
@${PERL} -pi -e 's!/pixmaps!/dopewars/pixmaps!' \
${WRKSRC}/src/Makefile.in
@${PERL} -pi -e 's!dopewars.sco!dopewars/dopewars.sco!g' \
${WRKSRC}/src/dopewars.c ${WRKSRC}/Makefile.in
.include <bsd.port.mk>

View File

@ -1,11 +0,0 @@
--- Makefile.am.orig Mon Jun 18 14:30:07 2001
+++ Makefile.am Mon Jun 18 14:30:59 2001
@@ -5,7 +5,6 @@
install-data-local:
${mkinstalldirs} ${DESTDIR}${datadir}
touch ${DESTDIR}${datadir}/dopewars.sco
- chown root:games ${DESTDIR}${datadir}/dopewars.sco || \
- chown root:wheel ${DESTDIR}${datadir}/dopewars.sco
+ chown root:wheel ${DESTDIR}${datadir}/dopewars.sco
chmod 0660 ${DESTDIR}${datadir}/dopewars.sco

View File

@ -0,0 +1,13 @@
--- doc/Makefile.in.orig Mon Jun 18 20:46:56 2001
+++ doc/Makefile.in Thu Aug 2 18:46:04 2001
@@ -248,8 +248,10 @@
install-data-local:
+ifndef NOPORTDOCS
${INSTALL} -d -o root -g 0 -m 0755 ${DESTDIR}${DOCPATH}
${INSTALL} -o root -g 0 -m 0644 ${DOCS} ${DESTDIR}${DOCPATH}
+endif
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -1,16 +1,28 @@
bin/dopewars
share/doc/%%DOPEWARS%%/aiplayer.html
share/doc/%%DOPEWARS%%/clientplay.html
share/doc/%%DOPEWARS%%/commandline.html
share/doc/%%DOPEWARS%%/configfile.html
share/doc/%%DOPEWARS%%/credits.html
share/doc/%%DOPEWARS%%/developer.html
share/doc/%%DOPEWARS%%/i18n.html
share/doc/%%DOPEWARS%%/index.html
share/doc/%%DOPEWARS%%/installation.html
share/doc/%%DOPEWARS%%/metaserver.html
share/doc/%%DOPEWARS%%/server.html
share/doc/%%DOPEWARS%%/servercommands.html
share/doc/%%DOPEWARS%%/windows.html
share/dopewars.sco
@dirrm share/doc/%%DOPEWARS%%
%%PORTDOCS%%share/doc/%%DOPEWARS%%/aiplayer.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/clientplay.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/commandline.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/configfile.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/credits.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/developer.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/i18n.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/index.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/installation.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/metaserver.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/server.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/servercommands.html
%%PORTDOCS%%share/doc/%%DOPEWARS%%/windows.html
share/dopewars/dopewars.sco
share/dopewars/pixmaps/dopewars-pill.png
share/dopewars/pixmaps/dopewars-shot.png
share/dopewars/pixmaps/dopewars-weed.png
share/locale/de/LC_MESSAGES/dopewars.mo
share/locale/pl/LC_MESSAGES/dopewars.mo
share/locale/pt_BR/LC_MESSAGES/dopewars.mo
share/gnome/apps/Games/dopewars.desktop
@unexec rmdir share/gnome/apps/Games 2>/dev/null || true
@unexec rmdir share/gnome/apps 2>/dev/null || true
@unexec rmdir share/gnome 2>/dev/null || true
@dirrm share/dopewars/pixmaps
@dirrm share/dopewars
%%PORTDOCS%%@dirrm share/doc/%%DOPEWARS%%