aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-10-12 14:00:13 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-10-12 14:00:13 +0000
commit8d9c8c8960c7357ac4077078c0b630f1e084f9a3 (patch)
treec49a04296f7d596c685b0d9e77c927870e136eef /games
parent888957dc905204a0a7a9f5c9bcea57b4a9ee6cd8 (diff)
downloadports-8d9c8c8960c7357ac4077078c0b630f1e084f9a3.tar.gz
ports-8d9c8c8960c7357ac4077078c0b630f1e084f9a3.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/pyawale/Makefile18
-rw-r--r--games/pyawale/pkg-plist2
2 files changed, 5 insertions, 15 deletions
diff --git a/games/pyawale/Makefile b/games/pyawale/Makefile
index 7b22740da81a..ce1da2928bfa 100644
--- a/games/pyawale/Makefile
+++ b/games/pyawale/Makefile
@@ -10,23 +10,17 @@ MASTER_SITES= http://download.gna.org/pyawale/
MAINTAINER= games@FreeBSD.org
COMMENT= African board game
-LICENSE= GPLv2
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYGAME}
-USE_PYTHON= yes
+USES= python
SUB_FILES= ${PORTNAME}
PORTDOCS= *
-DOCSRCDIR1= ${WRKSRC}
-DOC_FILES1= AUTHORS ChangeLog LISEZMOI NEWS README
-
-DOCSRCDIR2= ${WRKSRC}/docs
-DOCSDIR2= ${DOCSDIR}/docs
-DOC_FILES2= *.rest *.html *.jpg
-
OPTIONS_DEFINE= DOCS
post-patch:
@@ -47,9 +41,7 @@ do-install:
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.desktop \
${STAGEDIR}${DESKTOPDIR}
-
- @${MKDIR} ${STAGEDIR}${DOCSDIR2}
- ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog LISEZMOI NEWS README \
+ docs/*.rest docs/*.html docs/*.jpg" ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/pyawale/pkg-plist b/games/pyawale/pkg-plist
index c1670af65b9f..7f802338498a 100644
--- a/games/pyawale/pkg-plist
+++ b/games/pyawale/pkg-plist
@@ -81,5 +81,3 @@ share/pixmaps/pyawale.png
%%DATADIR%%/pyawale.py
%%DATADIR%%/pyawale.pyc
%%DATADIR%%/pyawale.pyo
-@dirrm %%DATADIR%%/images
-@dirrm %%DATADIR%%