1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2014-05-14 11:56:59 +00:00
parent 7f20b6f407
commit cbcd1e33bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354039
2 changed files with 17 additions and 19 deletions

View File

@ -23,9 +23,6 @@ CONFIGURE_ARGS= --with-float-samples
MAKEFILE= makefile
ALL_TARGET= snd snd-info sndplay
MAKE_JOBS_UNSAFE= yes
NO_STAGE= yes
MAN1= snd.1
CFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include
@ -84,30 +81,30 @@ post-patch:
do-install:
.for i in snd snd-info sndplay
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/snd.1 ${MANPREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/snd.1 ${STAGEDIR}${MANPREFIX}/man/man1/
.if ${PORT_OPTIONS:MS7}
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.scm ${DATADIR}
@${MKDIR} ${DATADIR}/tools
${INSTALL_DATA} ${WRKSRC}/tools/*.scm ${DATADIR}/tools
@${MKDIR} ${DATADIR}/sndins/samples
${INSTALL_DATA} ${WRKSRC}/sndins/samples/*.scm ${DATADIR}/sndins/samples
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.scm ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/tools
${INSTALL_DATA} ${WRKSRC}/tools/*.scm ${STAGEDIR}${DATADIR}/tools
@${MKDIR} ${STAGEDIR}${DATADIR}/sndins/samples
${INSTALL_DATA} ${WRKSRC}/sndins/samples/*.scm ${STAGEDIR}${DATADIR}/sndins/samples
.endif
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in HISTORY.Snd README.Snd
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/pix
${INSTALL_DATA} ${WRKSRC}/pix/*.png ${DOCSDIR}/pix
cd ${WRKSRC} && ${PAX} -r -w tutorial ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/pix
${INSTALL_DATA} ${WRKSRC}/pix/*.png ${STAGEDIR}${DOCSDIR}/pix
cd ${WRKSRC} && ${PAX} -r -w tutorial ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/DotEmacs ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/DotEmacs ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,6 +1,7 @@
bin/snd
bin/snd-info
bin/sndplay
man/man1/snd.1.gz
%%PORTDOCS%%%%DOCSDIR%%/HISTORY.Snd
%%PORTDOCS%%%%DOCSDIR%%/README.Snd
%%PORTDOCS%%%%DOCSDIR%%/extsnd.html