1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Support staging

This commit is contained in:
Dmitry Marakasov 2014-05-09 23:13:39 +00:00
parent f2fcb9642b
commit 46b0b07c88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353536

View File

@ -13,7 +13,6 @@ COMMENT= MIDI-capable synthesizer for X
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
NO_STAGE= yes
GNU_CONFIGURE= yes
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
@ -81,15 +80,15 @@ pre-install:
do-install:
.if defined(PLUGIN)
${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth.so ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth.so ${STAGEDIR}${PREFIX}/lib
.else
${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${STAGEDIR}${PREFIX}/bin
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for ii in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR}
.endfor
.endif