diff options
Diffstat (limited to 'audio/libnoise/Makefile')
-rw-r--r-- | audio/libnoise/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/audio/libnoise/Makefile b/audio/libnoise/Makefile index 100b433462cb..16c18e63cf20 100644 --- a/audio/libnoise/Makefile +++ b/audio/libnoise/Makefile @@ -14,19 +14,26 @@ DISTNAME= ${PORTNAME}src-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Generates three-dimensional coherent noise -BUILD_DEPENDS= libtool:${PORTSDIR}/devel/libtool15 - USE_ZIP= yes USE_GMAKE= yes +USE_AUTOTOOLS= libtool:22:env USE_LDCONFIG= yes CXXFLAGS+= -O3 -fomit-frame-pointer WRKSRC= ${WRKDIR}/noise +post-patch: + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/src/Makefile + @${REINPLACE_CMD} -e 's|include lib:|include:|g' \ + ${WRKSRC}/Makefile + do-install: - @${CP} -R ${WRKSRC}/lib/${PORTNAME}.* ${PREFIX}/lib/ + @${CP} -R ${WRKSRC}/src/${PORTNAME}.* ${PREFIX}/lib/ + @${CP} -R ${WRKSRC}/src/.libs/${PORTNAME}.so.* ${PREFIX}/lib/ @${INSTALL} -d ${PREFIX}/include/noise @${CP} -R ${WRKSRC}/include/ ${PREFIX}/include/noise/ @${RM} -f ${PREFIX}/include/noise/Makefile - @${LN} -sf ${PREFIX}/lib/libnoise.so.0.3 ${PREFIX}/lib/libnoise.so.0 +# This line is here to preserve the old behavior of the port. + @${LN} -sf ${PREFIX}/lib/libnoise.so.0 ${PREFIX}/lib/libnoise.so.0.3 .include <bsd.port.mk> |