- Fix build when example are off

PR:		186838
Submitted by:	"O. Hartmann" <ohartman@zedat.fu-berlin.de>
This commit is contained in:
Martin Wilke 2014-02-17 14:42:18 +00:00
parent c4d7e6ac03
commit 474394fe46
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344759

View file

@ -46,6 +46,7 @@ post-patch:
${WRKSRC}/configure
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for FILE in ${EXAMPLES_DATA}
@${INSTALL_DATA} ${WRKSRC}/examples/${FILE} ${STAGEDIR}${EXAMPLESDIR}/${FILE}
@ -53,5 +54,6 @@ post-install:
.for FILE in ${EXAMPLES_EXEC}
@${INSTALL_SCRIPT} ${WRKSRC}/examples/${FILE} ${STAGEDIR}${EXAMPLESDIR}/${FILE}
.endfor
.endif
.include <bsd.port.mk>