- use *DIR macros
- install docs in DOCSDIR - fix plist with NOPORTDOCS - bump PORTREVISION Prompted by: QA Tindy run
This commit is contained in:
parent
03eb7331ed
commit
f8ae60ef29
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217766
2 changed files with 11 additions and 13 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= dungeon
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ftp://ftp.ifarchive.org/if-archive/games/source/ \
|
||||
ftp://ftp.ifarchive.com/if-archive/games/source/ \
|
||||
|
@ -49,16 +49,13 @@ pre-install:
|
|||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dungeon ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/dtextc.dat ${PREFIX}/share/dungeon
|
||||
${INSTALL_DATA} ${WRKSRC}/dtextc.dat ${DATADIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/dungeon.6 ${PREFIX}/man/man6
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${PREFIX}/bin/dungeon
|
||||
.if !defined(NOPORTDOCS)
|
||||
${INSTALL_DATA} ${WRKSRC}/history ${PREFIX}/share/dungeon
|
||||
${INSTALL_DATA} ${WRKSRC}/manifest ${PREFIX}/share/dungeon
|
||||
${INSTALL_DATA} ${WRKSRC}/readme ${PREFIX}/share/dungeon
|
||||
${INSTALL_DATA} ${DISTDIR}/dungn32b.zip ${PREFIX}/share/dungeon
|
||||
${INSTALL_DATA} ${WRKSRC}/history ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/manifest ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
|
||||
${INSTALL_DATA} ${DISTDIR}/dungn32b.zip ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
bin/dungeon
|
||||
share/dungeon/dtextc.dat
|
||||
share/dungeon/dungn32b.zip
|
||||
share/dungeon/history
|
||||
share/dungeon/manifest
|
||||
share/dungeon/readme
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dungn32b.zip
|
||||
%%PORTDOCS%%%%DOCSDIR%%/history
|
||||
%%PORTDOCS%%%%DOCSDIR%%/manifest
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme
|
||||
%%PORTDOCS%%@dirrm%%DOCSDIR%%
|
||||
@dirrm share/dungeon
|
||||
|
|
Loading…
Reference in a new issue