PORTNAME= libsidplayfp DISTVERSION= 2.8.0 CATEGORIES= audio MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= fluffy@FreeBSD.org COMMENT= Library to play Commodore 64 music derived from libsidplay2 WWW= https://github.com/libsidplayfp/libsidplayfp LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= libgcrypt-config:security/libgcrypt LIB_DEPENDS= libgcrypt.so:security/libgcrypt USES= compiler:c++17-lang libtool pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static \ --with-exsid=no \ --with-gcrypt INSTALL_TARGET= install-strip SIDPLAYFP_SHLIB_VERSION= 6.4.32 STILVIEW_SHLIB_VERSION= 0.0.5 PLIST_SUB+= SIDPLAYFP_SHLIB_VER=${SIDPLAYFP_SHLIB_VERSION:C/\.[[:digit:].]+//} \ SIDPLAYFP_SHLIB_VERSION=${SIDPLAYFP_SHLIB_VERSION} \ STILVIEW_SHLIB_VER=${STILVIEW_SHLIB_VERSION:C/\.[[:digit:].]+//} \ STILVIEW_SHLIB_VERSION=${STILVIEW_SHLIB_VERSION} PORTDOCS1= NEWS README TODO PORTDOCS= * OPTIONS_DEFINE= DEBUG DOCS DOXYGEN OPTIONS_SUB= yes DEBUG_CONFIGURE_ON= --enable-debug=full DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_prog_HAVE_DOXYGEN=false .include .if ${ARCH} == "aarch64" CONFIGURE_ARGS+= --with-simd=neon .endif .if ${ARCH} == "amd64" .if !defined(CPUTYPE) CFLAGS+= -march=penryn .endif CONFIGURE_ARGS+= --with-simd=sse4 .endif post-build-DOXYGEN-on: ${MAKE_CMD} doc -C ${WRKSRC} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS1:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} post-install-DOXYGEN-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR}/html .include