aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libnoise/Makefile
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-15 20:02:28 +0800
committertijl <tijl@FreeBSD.org>2014-09-15 20:02:28 +0800
commit9d7a1230364e1f4348b344114a13f2f5592ba0cc (patch)
tree219234cd428cc42e43254a54b91fc22c17e85e7e /audio/libnoise/Makefile
parentc3b0e050022f25c9bf93c19f28089dd02d3dab30 (diff)
downloadfreebsd-ports-gnome-9d7a1230364e1f4348b344114a13f2f5592ba0cc.tar.gz
freebsd-ports-gnome-9d7a1230364e1f4348b344114a13f2f5592ba0cc.tar.zst
freebsd-ports-gnome-9d7a1230364e1f4348b344114a13f2f5592ba0cc.zip
- Fix libtool use (add -rpath)
- Use COPYTREE_SHARE to install include headers - Add dos2unix so the patch can have svn:eol-style native
Diffstat (limited to 'audio/libnoise/Makefile')
-rw-r--r--audio/libnoise/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/audio/libnoise/Makefile b/audio/libnoise/Makefile
index a88cb28fbf25..c714dfd1b374 100644
--- a/audio/libnoise/Makefile
+++ b/audio/libnoise/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libnoise
DISTVERSION= 1.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20sources/${PORTVERSION}
DISTNAME= ${PORTNAME}src-${DISTVERSION}
@@ -12,7 +12,8 @@ EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Generates three-dimensional coherent noise
-USES= gmake libtool:build zip
+USES= dos2unix gmake libtool:build zip
+DOS2UNIX_FILES= ${WRKSRC}/src/Makefile
USE_LDCONFIG= yes
CXXFLAGS+= -O3 -fomit-frame-pointer
WRKSRC= ${WRKDIR}/noise
@@ -24,12 +25,11 @@ post-patch:
${WRKSRC}/Makefile
do-install:
- ${CP} -R ${WRKSRC}/src/${PORTNAME}.* ${STAGEDIR}${PREFIX}/lib/
- ${INSTALL_LIB} ${WRKSRC}/src/.libs/${PORTNAME}.so.* ${STAGEDIR}${PREFIX}/lib/
- @${INSTALL} -d ${STAGEDIR}${PREFIX}/include/noise
- ${CP} -R ${WRKSRC}/include/ ${STAGEDIR}${PREFIX}/include/noise/
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib
+ (cd ${WRKSRC}/src && ${LOCALBASE}/bin/libtool --mode=install \
+ ${INSTALL_LIB} libnoise.la ${STAGEDIR}${PREFIX}/lib)
+ (cd ${WRKSRC}/include && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/noise)
${RM} -f ${STAGEDIR}${PREFIX}/include/noise/Makefile
-# This line is here to preserve the old behavior of the port.
- ${LN} -sf libnoise.so.0 ${STAGEDIR}${PREFIX}/lib/libnoise.so.0.3
.include <bsd.port.mk>