aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sidplay
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sidplay')
-rw-r--r--audio/sidplay/Makefile17
-rw-r--r--audio/sidplay/distinfo2
-rw-r--r--audio/sidplay/pkg-plist17
3 files changed, 15 insertions, 21 deletions
diff --git a/audio/sidplay/Makefile b/audio/sidplay/Makefile
index c76cadc7a9ca..20300158d96d 100644
--- a/audio/sidplay/Makefile
+++ b/audio/sidplay/Makefile
@@ -6,19 +6,24 @@
#
PORTNAME= sidplay
-PORTVERSION= 1.36.38
+PORTVERSION= 1.0.4
CATEGORIES= audio emulators
MASTER_SITES= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/
-DISTNAME= lib${PORTNAME}-${PORTVERSION:S/./_/g}
+DISTNAME= ${PORTNAME}-base-${PORTVERSION:S/./_/g}
EXTRACT_SUFX= .tgz
MAINTAINER= sec@42.org
-WRKSRC= ${WRKDIR}/lib${PKGNAME}
-USE_XLIB= yes
+LIB_DEPENDS= sidplay.1:${PORTSDIR}/audio/libsidplay
+
+CONFIGURE_ARGS= --with-sidplay-includes=${LOCALBASE}/include \
+ --with-sidplay-library=${LOCALBASE}/lib
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-base-${PORTVERSION}
USE_LIBTOOL= yes
-INSTALLS_SHLIB= yes
USE_GMAKE= yes
-USE_NEWGCC= yes
+
+post-install:
+ strip ${PREFIX}/bin/sidplay ${PREFIX}/bin/sid2wav ${PREFIX}/bin/sidcon
.include <bsd.port.mk>
diff --git a/audio/sidplay/distinfo b/audio/sidplay/distinfo
index 3f1ffd987860..be860706cd16 100644
--- a/audio/sidplay/distinfo
+++ b/audio/sidplay/distinfo
@@ -1 +1 @@
-MD5 (libsidplay-1_36_38.tgz) = 7bcb3fb98a463ba31aa8aa82fe36b54b
+MD5 (sidplay-base-1_0_4.tgz) = bfc0031b4a59ca7b3f9f654a0ef0bb3f
diff --git a/audio/sidplay/pkg-plist b/audio/sidplay/pkg-plist
index b6bd85dfee72..c84bcd8ce9c0 100644
--- a/audio/sidplay/pkg-plist
+++ b/audio/sidplay/pkg-plist
@@ -1,14 +1,3 @@
-include/sidplay/compconf.h
-include/sidplay/emucfg.h
-include/sidplay/fformat.h
-include/sidplay/myendian.h
-include/sidplay/mytypes.h
-include/sidplay/player.h
-include/sidplay/sidtune.h
-include/sidplay/version.h
-include/sidplay/fixpoint.h
-include/sidplay/libcfg.h
-lib/libsidplay.a
-lib/libsidplay.so.1
-lib/libsidplay.so
-@dirrm include/sidplay
+bin/sidplay
+bin/sid2wav
+bin/sidcon