mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stage support
This commit is contained in:
parent
e89a210813
commit
39d61c560c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339967
@ -13,24 +13,18 @@ COMMENT= Curses-based MP3 player
|
||||
LIB_DEPENDS= libsmpeg.so:${PORTSDIR}/multimedia/smpeg
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= pathfix
|
||||
NO_STAGE= yes
|
||||
USES= pathfix
|
||||
USE_SDL= sdl
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
MAN1= ksmp3play.1
|
||||
EXTRACT_AFTER_ARGS= --exclude CVS
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${TAR} -C ${WRKSRC}/doc --exclude "CVS" -cf - . | \
|
||||
${TAR} -C ${DOCSDIR} --unlink -xf -
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/ksmp3play
|
||||
man/man1/ksmp3play.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ksmp3play.html/ch-usage.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ksmp3play.html/footnotes.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ksmp3play.html/ch-intro.html
|
||||
|
Loading…
Reference in New Issue
Block a user