aboutsummaryrefslogtreecommitdiff
path: root/audio/ocp
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-05 22:30:07 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-05 22:30:07 +0000
commit5df70f878c1462225344bf476749b7f1b5d7af22 (patch)
treee51ee9b16e1c89f3186f3beee94acd29872e82f0 /audio/ocp
parenta3ccc8c82b6ecc9dadf5ce6c1268bea4128f08a4 (diff)
downloadports-5df70f878c1462225344bf476749b7f1b5d7af22.tar.gz
ports-5df70f878c1462225344bf476749b7f1b5d7af22.zip
Notes
Diffstat (limited to 'audio/ocp')
-rw-r--r--audio/ocp/Makefile13
-rw-r--r--audio/ocp/pkg-plist4
2 files changed, 12 insertions, 5 deletions
diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index 392e40347d29..82281f6010fc 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -7,14 +7,14 @@
PORTNAME= ocp
PORTVERSION= 0.1.9
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://labs.nixia.no/
MAINTAINER= ehaupt@critical.ch
COMMENT= The legendary Open Cubic Player
-LIB_DEPENDS= sidplay.1:${PORTSDIR}/audio/libsidplay \
- id3tag.2:${PORTSDIR}/audio/libid3tag \
+LIB_DEPENDS= id3tag.2:${PORTSDIR}/audio/libid3tag \
mad.2:${PORTSDIR}/audio/libmad \
vorbis.3:${PORTSDIR}/audio/libvorbis
@@ -43,8 +43,15 @@ TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg
.include <bsd.port.pre.mk>
+.if ${OSVERSION} > 500000
+LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
+PLIST_SUB+= LIBSIDPLAY=""
+.else
+PLIST_SUB+= LIBSIDPLAY="@comment "
+.endif
+
.if exists(${TIMIDITY_CFG}) || !defined(WITHOUT_MIDI)
-RUN_DEPENDS= ${TIMIDITY_CFG}:${PORTSDIR}/audio/eawpats
+RUN_DEPENDS+= ${TIMIDITY_CFG}:${PORTSDIR}/audio/eawpats
.endif
.if defined(WITHOUT_X11)
diff --git a/audio/ocp/pkg-plist b/audio/ocp/pkg-plist
index 969f14fd2e0e..96d104b4f42c 100644
--- a/audio/ocp/pkg-plist
+++ b/audio/ocp/pkg-plist
@@ -42,8 +42,8 @@ lib/ocp/playit.so
lib/ocp/playmp2.so
lib/ocp/playogg.so
%%ADPLUG%%lib/ocp/playopl.so
-lib/ocp/playsid.so
-lib/ocp/sidtype.so
+%%LIBSIDPLAY%%lib/ocp/playsid.so
+%%LIBSIDPLAY%%lib/ocp/sidtype.so
lib/ocp/playwav.so
lib/ocp/playxm.so
lib/ocp/plrbase.so