aboutsummaryrefslogtreecommitdiff
path: root/audio/swhplugins
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-12-05 10:49:45 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-12-05 10:49:45 +0000
commitec60d52749c5628992556bc202a3c224fec1d906 (patch)
tree262042ff1d02173af99bbfcf6ed458e35a37ba81 /audio/swhplugins
parentcbed17d2280139f014662c8a4b3dd440422bb415 (diff)
downloadports-ec60d52749c5628992556bc202a3c224fec1d906.tar.gz
ports-ec60d52749c5628992556bc202a3c224fec1d906.zip
- Update to 0.4.15
- Add missing -lintl - Use OPTIONS
Notes
Notes: svn path=/head/; revision=178927
Diffstat (limited to 'audio/swhplugins')
-rw-r--r--audio/swhplugins/Makefile29
-rw-r--r--audio/swhplugins/distinfo6
2 files changed, 22 insertions, 13 deletions
diff --git a/audio/swhplugins/Makefile b/audio/swhplugins/Makefile
index bd5f259fc0c0..6ab48317b0a7 100644
--- a/audio/swhplugins/Makefile
+++ b/audio/swhplugins/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= swhplugins
-PORTVERSION= 0.4.14
-PORTREVISION= 1
+PORTVERSION= 0.4.15
CATEGORIES= audio
MASTER_SITES= http://plugin.org.uk/releases/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}
@@ -24,23 +23,33 @@ ONLY_FOR_ARCHS= i386 amd64
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
CFLAGS+= -fPIC -DPIC
-.if defined(WITH_3DNOW)
-CONFIGURE_ARGS+= --enable-3dnow
-.endif
-
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+LDFLAGS+= -lintl
+.endif
+
+OPTIONS= 3DNOW "use 3DNow! instructions" off \
+ SSE "use SSE instructions" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_3DNOW)
+CONFIGURE_ARGS+= --enable-3dnow
+.endif
+
+.if defined(WITH_SSE)
+CONFIGURE_ARGS+= --enable-sse
.endif
post-patch:
@@ -49,4 +58,4 @@ post-patch:
@${REINPLACE_CMD} -e \
's|<stdint\.h>|<inttypes.h>|g' ${WRKSRC}/ladspa-util.h
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/audio/swhplugins/distinfo b/audio/swhplugins/distinfo
index 2ce7c6bafa36..2ba5629da246 100644
--- a/audio/swhplugins/distinfo
+++ b/audio/swhplugins/distinfo
@@ -1,3 +1,3 @@
-MD5 (swh-plugins-0.4.14.tar.gz) = 1d8418b85034ee9153c726c4c7188a1a
-SHA256 (swh-plugins-0.4.14.tar.gz) = 25de958e1e1fb395d8830d934c9692825748e374db319318fe03880585bc9a5a
-SIZE (swh-plugins-0.4.14.tar.gz) = 1008445
+MD5 (swh-plugins-0.4.15.tar.gz) = 2fbdccef2462ea553901acd429fa3573
+SHA256 (swh-plugins-0.4.15.tar.gz) = d05ee8a4f4d92e828412bce3449a034f6ef16bb630eaf60f8fe4e15a89168640
+SIZE (swh-plugins-0.4.15.tar.gz) = 1051623