mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stage support
- Add missing OPTIONS_DEFINE
This commit is contained in:
parent
596b257d7e
commit
ccf53feef3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338637
@ -12,9 +12,8 @@ COMMENT= Fast Audio Playlist Generator
|
||||
LIB_DEPENDS= liburiparser.so:${PORTSDIR}/net/uriparser
|
||||
|
||||
MAKE_ARGS+= CC="${CC}"
|
||||
NO_STAGE= yes
|
||||
|
||||
MAN1= fapg.1
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
@ -22,14 +21,12 @@ do-build:
|
||||
@cd ${WRKSRC} && ${MAKE} ${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/fapg.1 ${MAN1PREFIX}/man/man1
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/fapg.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for file in COPYING README
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/fapg
|
||||
man/man1/fapg.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user