1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- Update to 0.4.15

- Add missing -lintl
- Use OPTIONS
This commit is contained in:
Jean-Yves Lefort 2006-12-05 10:49:45 +00:00
parent cbed17d228
commit ec60d52749
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178927
2 changed files with 22 additions and 13 deletions

View File

@ -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>

View File

@ -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