diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-10-06 22:00:09 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-10-06 22:00:09 +0800 |
commit | 7169460ec3e79d3b0a587662ffea91b9a100583b (patch) | |
tree | 85e103682a56f8abbf36dd4f77a85cffd5c62c64 /games/magicmaze | |
parent | b5885076c66caa355f73fd30ebe767fbba70b2e7 (diff) | |
download | freebsd-ports-gnome-7169460ec3e79d3b0a587662ffea91b9a100583b.tar.gz freebsd-ports-gnome-7169460ec3e79d3b0a587662ffea91b9a100583b.tar.zst freebsd-ports-gnome-7169460ec3e79d3b0a587662ffea91b9a100583b.zip |
- Fix LICENSE
- Add LICENSE_FILE
- Simplify docs installation
Diffstat (limited to 'games/magicmaze')
-rw-r--r-- | games/magicmaze/Makefile | 17 | ||||
-rw-r--r-- | games/magicmaze/pkg-plist | 6 |
2 files changed, 5 insertions, 18 deletions
diff --git a/games/magicmaze/Makefile b/games/magicmaze/Makefile index 8a3fe2dc58ce..82285da0da71 100644 --- a/games/magicmaze/Makefile +++ b/games/magicmaze/Makefile @@ -11,7 +11,9 @@ DISTNAME= ${PORTNAME}-${DISTVERSION:S/./_/g} MAINTAINER= games@FreeBSD.org COMMENT= Simple and low-tech monster-bashing maze game -LICENSE= GPLv2 +LICENSE= GPLv2 RUBY +LICENSE_COMB= dual +LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING_GPL.txt RUN_DEPENDS= ruby${RUBY_SUFFIX}-sdl>=0:${PORTSDIR}/devel/ruby-sdl @@ -25,13 +27,6 @@ NO_BUILD= yes PORTDOCS= * -DOCSRCDIR1= ${WRKSRC} -DOC_FILES1= README.TXT - -DOCSRCDIR2= ${WRKSRC}/doc -DOCSDIR2= ${DOCSDIR}/doc -DOC_FILES2= BUGS.TXT - OPTIONS_DEFINE= DOCS SUB_FILES= ${PORTNAME} @@ -47,9 +42,7 @@ do-install: ${LN} -sf ${DATADIR}/data/gfx/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png - - @${MKDIR} ${STAGEDIR}${DOCSDIR2} - ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} + cd ${WRKSRC} && ${COPYTREE_SHARE} "README.TXT doc/BUGS.TXT" \ + ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/games/magicmaze/pkg-plist b/games/magicmaze/pkg-plist index b1ac5ed0d2cf..9ddd452233ca 100644 --- a/games/magicmaze/pkg-plist +++ b/games/magicmaze/pkg-plist @@ -51,9 +51,3 @@ bin/magicmaze %%DATADIR%%/mm.rb %%DATADIR%%/testmm.rb share/pixmaps/magicmaze.png -@dirrm %%DATADIR%%/magicmaze -@dirrm %%DATADIR%%/data/sound -@dirrm %%DATADIR%%/data/maps -@dirrm %%DATADIR%%/data/gfx -@dirrm %%DATADIR%%/data -@dirrm %%DATADIR%% |