1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Add stage support

- Pet portlint
This commit is contained in:
Lars Engels 2013-10-04 19:47:15 +00:00
parent 0f0fe7b6fc
commit e3a5e4ab4b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329369
2 changed files with 9 additions and 18 deletions

View File

@ -13,8 +13,8 @@ COMMENT= Beneath a Steel Sky: a post-apocalyptic futuristic graphical adventure
LICENSE= unknown LICENSE= unknown
LICENSE_NAME= no name LICENSE_NAME= no name
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_FILE= ${WRKSRC}/readme.txt LICENSE_FILE= ${WRKSRC}/readme.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RUN_DEPENDS= scummvm:${PORTSDIR}/games/scummvm RUN_DEPENDS= scummvm:${PORTSDIR}/games/scummvm
@ -24,21 +24,12 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME} WRKSRC= ${WRKDIR}/${DISTNAME}
SUB_FILES= pkg-message SUB_FILES= pkg-message
NO_STAGE= yes
do-install: do-install:
${MKDIR} ${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sky.dnr ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/sky.dnr ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sky.dsk ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/sky.dsk ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sky.cpt ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/sky.cpt ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.if !defined(NOPORTDOCS) @${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${DOCSDIR}
.for docs in readme.txt
@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -2,5 +2,5 @@
%%DATADIR%%/sky.dnr %%DATADIR%%/sky.dnr
%%DATADIR%%/sky.dsk %%DATADIR%%/sky.dsk
%%PORTDOCS%%%%DOCSDIR%%/readme.txt %%PORTDOCS%%%%DOCSDIR%%/readme.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%% %%PORTDOCS%%@dirrmtry %%DOCSDIR%%
@dirrm %%DATADIR%% @dirrmtry %%DATADIR%%