mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Pet porlint
- Drop @dirrm* from plist
This commit is contained in:
parent
3e3df85502
commit
c9f778f50e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373741
@ -14,7 +14,6 @@ USES= tk:84,run tar:tgz
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
DOC_FILES= About Bugs Changelog Install Instructions Links Math Readme \
|
||||
Thanks Todo
|
||||
DATA_FILES= menus pieces.3x20 pieces.783 pieces.bonus pieces.colours \
|
||||
@ -22,6 +21,8 @@ DATA_FILES= menus pieces.3x20 pieces.783 pieces.bonus pieces.colours \
|
||||
pieces.round pieces.small pieces.square pieces.star \
|
||||
pieces.triangle
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
pre-install:
|
||||
@${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:g" ${WRKSRC}/polypuzzle
|
||||
|
||||
@ -29,11 +30,11 @@ do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/polypuzzle ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
.for f in ${DATA_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
|
||||
.endfor
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${DOC_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -23,5 +23,3 @@ bin/polypuzzle
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Readme
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Thanks
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Todo
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user