Changeset View
Changeset View
Standalone View
Standalone View
head/audio/libsidplayfp/Makefile
Show All 28 Lines | |||||
BHINTS_CONFIGURE_ENABLE= branch-hints | BHINTS_CONFIGURE_ENABLE= branch-hints | ||||
INLINE_DESC= Enable inlining in reSID engine at bigger code size | INLINE_DESC= Enable inlining in reSID engine at bigger code size | ||||
INLINE_CONFIGURE_ENABLE= inline | INLINE_CONFIGURE_ENABLE= inline | ||||
MMX_DESC= Enable MMX code in reSIDfp for old x86 non-SSE2 CPU | MMX_DESC= Enable MMX code in reSIDfp for old x86 non-SSE2 CPU | ||||
MMX_CONFIGURE_ENABLE= mmx | MMX_CONFIGURE_ENABLE= mmx | ||||
BUILD_DEPENDS+= xa65:${PORTSDIR}/devel/xa65 | BUILD_DEPENDS+= xa65:${PORTSDIR}/devel/xa65 | ||||
.include <bsd.port.options.mk> | |||||
SIDPLAYFP_SHLIB_VERSION= 3.2.0 | SIDPLAYFP_SHLIB_VERSION= 3.2.0 | ||||
STILVIEW_SHLIB_VERSION= 0.0.2 | STILVIEW_SHLIB_VERSION= 0.0.2 | ||||
PLIST_SUB+= \ | PLIST_SUB+= \ | ||||
SIDPLAYFP_SHLIB_VER=${SIDPLAYFP_SHLIB_VERSION:C/\.[[:digit:].]+//} \ | SIDPLAYFP_SHLIB_VER=${SIDPLAYFP_SHLIB_VERSION:C/\.[[:digit:].]+//} \ | ||||
SIDPLAYFP_SHLIB_VERSION=${SIDPLAYFP_SHLIB_VERSION} \ | SIDPLAYFP_SHLIB_VERSION=${SIDPLAYFP_SHLIB_VERSION} \ | ||||
STILVIEW_SHLIB_VER=${STILVIEW_SHLIB_VERSION:C/\.[[:digit:].]+//} \ | STILVIEW_SHLIB_VER=${STILVIEW_SHLIB_VERSION:C/\.[[:digit:].]+//} \ | ||||
STILVIEW_SHLIB_VERSION=${STILVIEW_SHLIB_VERSION} | STILVIEW_SHLIB_VERSION=${STILVIEW_SHLIB_VERSION} | ||||
post-build: | post-build-DOXYGEN-on: | ||||
.if ${PORT_OPTIONS:MDOXYGEN} | |||||
cd ${WRKSRC} && ${MAKE} doc | cd ${WRKSRC} && ${MAKE} doc | ||||
.endif | |||||
post-install: | post-install-DOCS-on: | ||||
.if ${PORT_OPTIONS:MDOCS} | |||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} ; \ | @${MKDIR} ${STAGEDIR}${DOCSDIR} ; \ | ||||
cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} | cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} | ||||
.endif | post-install-DOXYGEN-on: | ||||
.if ${PORT_OPTIONS:MDOXYGEN} | |||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html ; \ | @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ; \ | ||||
${INSTALL_MAN} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR}/html ; \ | ${INSTALL_MAN} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR}/html ; \ | ||||
${RM} -f ${WRKDIR}/PLIST.doc ; \ | ${RM} -f ${WRKDIR}/PLIST.doc ; \ | ||||
${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \ | ${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \ | ||||
${SED} 's|${STAGEDIR}${PREFIX}/||' \ | ${SED} 's|${STAGEDIR}${PREFIX}/||' \ | ||||
>> ${WRKDIR}/PLIST.doc | >> ${WRKDIR}/PLIST.doc | ||||
cd ${WRKDIR} ; ${SED} -i -e '/PLIST.doc/ r PLIST.doc' ${TMPPLIST} | cd ${WRKDIR} ; ${SED} -i -e '/PLIST.doc/ r PLIST.doc' ${TMPPLIST} | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |