1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix DATADIR (is an absolute path)

- Add NO_ARCH
- Simplify installation
- Drop @dirrm* from plist

Approved by:	bapt
This commit is contained in:
Dmitry Marakasov 2014-12-23 03:37:09 +00:00
parent bf9e7fb292
commit aa4f21d177
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375305
2 changed files with 3 additions and 16 deletions

View File

@ -13,16 +13,14 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Frets on Fire data files
NO_BUILD= yes
DATADIR= share/${PKGNAMEPREFIX:S/-//}
NO_ARCH= yes
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX:S/-//}
RESTRICTED= Only Unreal Voodoo site is allowed to distribute the music
WRKSRC= ${WRKDIR}/Frets\ on\ Fire-${PORTVERSION}
EXTRACT_AFTER_ARGS= --exclude 'win32' "Frets on Fire-${PORTVERSION}/${PORTNAME}"
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${DATADIR}
@cd ${WRKSRC}/data && \
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/${DATADIR}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${DATADIR}/{}" \;
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

View File

@ -243,14 +243,3 @@
%%DATADIR%%/testi.dae
%%DATADIR%%/theme.ini
%%DATADIR%%/title.ttf
@dirrm %%DATADIR%%/translations/old
@dirrm %%DATADIR%%/songs/twibmpg
@dirrm %%DATADIR%%/songs/tutorial
@dirrm %%DATADIR%%/songs/defy
@dirrm %%DATADIR%%/songs/bangbang
@dirrm %%DATADIR%%/mods/Chilly
@dirrm %%DATADIR%%/mods/LightGraphics
@dirrm %%DATADIR%%/translations
@dirrm %%DATADIR%%/songs
@dirrm %%DATADIR%%/mods
@dirrm %%DATADIR%%