mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
- Do not depend on games/quake3-data, but install in the same directory and
use @dirrmtry. Suggested by: ale
This commit is contained in:
parent
fb198508aa
commit
21291b2b23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200303
@ -24,18 +24,21 @@ NO_BUILD= yes
|
||||
NO_PACKAGE= Package will be 560MB; set FORCE_PACKAGE if you really want it
|
||||
WRKSRC= ${WRKDIR}/q3ut4
|
||||
|
||||
DATADIR= ${Q3DIR}/q3ut4
|
||||
DATADIR= ${Q3DIR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
Q3DIR!= cd ${PORTSDIR}/games/quake3-data && ${MAKE} -V Q3DIR
|
||||
|
||||
post-extract:
|
||||
@cd ${WRKSRC} && ${MV} readme40.txt ..
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
${CP} -r ${WRKSRC}/* ${DATADIR}
|
||||
${MKDIR} ${DATADIR}/q3ut4
|
||||
${CP} -r ${WRKSRC}/* ${DATADIR}/q3ut4
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/readme40.txt ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/../quake3-data/Makefile.include"
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,15 +1,16 @@
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme40.txt
|
||||
%%DATADIR%%/Urban Terror Website.url
|
||||
%%DATADIR%%/autoexec.cfg
|
||||
%%DATADIR%%/demos/test.dm_68
|
||||
%%DATADIR%%/description.txt
|
||||
%%DATADIR%%/mapcycle.txt
|
||||
%%DATADIR%%/q3config.cfg
|
||||
%%DATADIR%%/q3ut.ico
|
||||
%%DATADIR%%/screenshots/shot0000.jpg
|
||||
%%DATADIR%%/server.cfg
|
||||
%%DATADIR%%/zpak000.pk3
|
||||
@dirrm %%DATADIR%%/screenshots
|
||||
@dirrm %%DATADIR%%/demos
|
||||
@dirrm %%DATADIR%%
|
||||
%%DATADIR%%/q3ut4/Urban Terror Website.url
|
||||
%%DATADIR%%/q3ut4/autoexec.cfg
|
||||
%%DATADIR%%/q3ut4/demos/test.dm_68
|
||||
%%DATADIR%%/q3ut4/description.txt
|
||||
%%DATADIR%%/q3ut4/mapcycle.txt
|
||||
%%DATADIR%%/q3ut4/q3config.cfg
|
||||
%%DATADIR%%/q3ut4/q3ut.ico
|
||||
%%DATADIR%%/q3ut4/screenshots/shot0000.jpg
|
||||
%%DATADIR%%/q3ut4/server.cfg
|
||||
%%DATADIR%%/q3ut4/zpak000.pk3
|
||||
@dirrm %%DATADIR%%/q3ut4/screenshots
|
||||
@dirrm %%DATADIR%%/q3ut4/demos
|
||||
@dirrm %%DATADIR%%/q3ut4
|
||||
@dirrmtry %%DATADIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user