aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-10-10 22:00:42 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-10-10 22:00:42 +0800
commit73fec66435a355e1231304017f5c0de06fdbb16d (patch)
treee4462023be54da7c4726d92d0b4f7458d5e07f60 /games
parent61afa9449eb7d95e8d3d967c1b363ed31b2f21c3 (diff)
downloadfreebsd-ports-gnome-73fec66435a355e1231304017f5c0de06fdbb16d.tar.gz
freebsd-ports-gnome-73fec66435a355e1231304017f5c0de06fdbb16d.tar.zst
freebsd-ports-gnome-73fec66435a355e1231304017f5c0de06fdbb16d.zip
- Add LICENSE_FILE
- Simplify docs installation - Drop @dirrm* from plist
Diffstat (limited to 'games')
-rw-r--r--games/tux-aqfh/Makefile15
-rw-r--r--games/tux-aqfh/pkg-plist9
2 files changed, 4 insertions, 20 deletions
diff --git a/games/tux-aqfh/Makefile b/games/tux-aqfh/Makefile
index a2950ce0c273..f2d942e023a1 100644
--- a/games/tux-aqfh/Makefile
+++ b/games/tux-aqfh/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= games@FreeBSD.org
COMMENT= Tuxedo The Penguin: A Quest for Herring
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
@@ -28,13 +29,6 @@ LDFLAGS+= -L${LOCALBASE}/lib -lusbhid ${PTHREAD_LIBS}
PORTDOCS= *
-DOCSRCDIR1= ${WRKSRC}
-DOC_FILES1= AUTHORS CHANGES README
-
-DOCSRCDIR2= ${WRKSRC}/doc
-DOCSDIR2= ${DOCSDIR}/doc
-DOC_FILES2= *.png *.html
-
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Tuxedo The Penguin: A Quest for Herring" "" ${PORTNAME} \
@@ -55,9 +49,8 @@ post-patch:
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
-
- @${MKDIR} ${STAGEDIR}${DOCSDIR2}
- ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} \
+ "AUTHORS CHANGES README doc/*.png doc/*.html" \
+ ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/tux-aqfh/pkg-plist b/games/tux-aqfh/pkg-plist
index 0666bd481c27..faec96ae6b2d 100644
--- a/games/tux-aqfh/pkg-plist
+++ b/games/tux-aqfh/pkg-plist
@@ -296,12 +296,3 @@ share/pixmaps/tux_aqfh.png
%%DATADIR%%/wavs/whistle.wav
%%DATADIR%%/wavs/who.wav
%%DATADIR%%/wavs/who_else.wav
-@dirrm %%DATADIR%%/wavs
-@dirrm %%DATADIR%%/slamcode
-@dirrm %%DATADIR%%/penguin
-@dirrm %%DATADIR%%/mods
-@dirrm %%DATADIR%%/models
-@dirrm %%DATADIR%%/images
-@dirrm %%DATADIR%%/fonts
-@dirrm %%DATADIR%%/data
-@dirrm %%DATADIR%%