diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2007-04-24 12:17:57 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2007-04-24 12:17:57 +0000 |
commit | 0059dfe4f31635b0a9a600765a77909637d1f880 (patch) | |
tree | e2eab815b68246c1b5b75bc09776ebe853d8c91a /audio/ocp | |
parent | d70bda20f57131b9e9ad0b6a436584fd51b12f76 (diff) | |
download | ports-0059dfe4f31635b0a9a600765a77909637d1f880.tar.gz ports-0059dfe4f31635b0a9a600765a77909637d1f880.zip |
Notes
Diffstat (limited to 'audio/ocp')
-rw-r--r-- | audio/ocp/Makefile | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile index 62694a3a0c10..8a02d902c62d 100644 --- a/audio/ocp/Makefile +++ b/audio/ocp/Makefile @@ -7,7 +7,7 @@ PORTNAME= ocp PORTVERSION= 0.1.13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://stian.lunafish.org/ocp/ \ http://critical.ch/distfiles/ \ @@ -19,7 +19,8 @@ COMMENT= The legendary Open Cubic Player LIB_DEPENDS= id3tag.0:${PORTSDIR}/audio/libid3tag \ mad.2:${PORTSDIR}/audio/libmad \ vorbis.3:${PORTSDIR}/audio/libvorbis \ - sidplay.1:${PORTSDIR}/audio/libsidplay + sidplay.1:${PORTSDIR}/audio/libsidplay \ + ncursesw.5:${PORTSDIR}/devel/ncurses ONLY_FOR_ARCHS= i386 @@ -44,6 +45,16 @@ CONFIGURE_ARGS= --with-dir-suffix="" \ TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg +PFILES= configure cpiface/cpianal.c cpiface/cpidots.c \ + cpiface/cpiface.c cpiface/cpigraph.c cpiface/cpiinst.c \ + cpiface/cpikube.c cpiface/cpilinks.c cpiface/cpimsg.c \ + cpiface/cpiphase.c cpiface/cpiscope.c cpiface/cpitrack.c \ + cpiface/mcpedit.c cpiface/volctrl.c filesel/cphlpfs.c \ + filesel/pfilesel.c filesel/pfilesel.c.bak help/cphelper.c \ + medialib/medialib.c playcda/cdapplay.c stuff/poutput-curses.c \ + stuff/poutput-dga.c stuff/poutput-keyboard.c \ + stuff/poutput-vcsa.c stuff/poutput-x11.c + .include <bsd.port.pre.mk> .if exists(${TIMIDITY_CFG}) || !defined(WITHOUT_MIDI) @@ -103,6 +114,14 @@ post-patch: ${WRKSRC}/filesel/adb.c \ ${WRKSRC}/filesel/pfilesel.c +# use ncurses + @${REINPLACE_CMD} -e 's|-l\(curses\)|-ln\1w|' ${WRKSRC}/stuff/Makefile +.for f in ${PFILES} + @${REINPLACE_CMD} -e \ + 's|#include.*<curses\.h.*|#include <ncurses/ncurses.h>|' \ + ${WRKSRC}/${f} +.endfor + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ocp ${PREFIX}/bin |