aboutsummaryrefslogtreecommitdiff
path: root/audio/libsidplay2/Makefile
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-02-02 12:15:14 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-02-02 12:15:14 +0000
commit89c593725ae5b202ecfbcad2bf9ba2dc15835755 (patch)
treeef41f36ebfe10420f816d6a309b95b46bc0a2c47 /audio/libsidplay2/Makefile
parent03814734e579c694c00bce9af559fe3e28b760f8 (diff)
downloadports-89c593725ae5b202ecfbcad2bf9ba2dc15835755.tar.gz
ports-89c593725ae5b202ecfbcad2bf9ba2dc15835755.zip
Notes
Diffstat (limited to 'audio/libsidplay2/Makefile')
-rw-r--r--audio/libsidplay2/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/audio/libsidplay2/Makefile b/audio/libsidplay2/Makefile
index ec24f64c2ea3..a57a7019f0dc 100644
--- a/audio/libsidplay2/Makefile
+++ b/audio/libsidplay2/Makefile
@@ -6,27 +6,27 @@
#
PORTNAME= libsidplay2
-PORTVERSION= 2.0.7
-PORTREVISION= 1
+PORTVERSION= 2.1.0
CATEGORIES= audio emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sidplay2
-DISTNAME= ${PORTNAME:S/2//}-${PORTVERSION}-5
-EXTRACT_SUFX= .tgz
+DISTNAME= sidplay-libs-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= resid.2:${PORTSDIR}/audio/resid
-
-WRKSRC= ${WRKDIR}/${PORTNAME:S/2//}-${PORTVERSION}
+LD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_LIBTOOL= yes
-CONFIGURE_ARGS= --with-resid-includes=${LOCALBASE}/include \
- --with-resid-library=${LOCALBASE}/lib
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
post-patch:
- @${CHMOD} +rw ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
+ @${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
+ ${WRKSRC}/libsidutils/src/ini/ini.cpp
.include <bsd.port.mk>