Index: Makefile =================================================================== RCS file: /home/pcvs/ports/audio/cmus/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- Makefile 23 Dec 2006 07:24:59 -0000 1.18 +++ Makefile 2 Mar 2007 16:37:04 -0000 @@ -7,6 +7,7 @@ PORTNAME= cmus PORTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://onion.dynserv.net/~timo/files/ \ http://mirror.greaterscope.net/cmus/ @@ -14,6 +15,8 @@ MAINTAINER= simon@olofsson.de COMMENT= Console-based music player with really cool features +LIB_DEPENDS= ncursesw.5:${PORTSDIR}/devel/ncurses + USE_BZIP2= yes USE_GCC= 3.2+ USE_GMAKE= yes @@ -138,10 +141,9 @@ MAN1= cmus.1 cmus-remote.1 -post-extract: - @${REINPLACE_CMD} -e 's,-lncursesw,-lncurses,g' ${WRKSRC}/configure +post-patch: @${REINPLACE_CMD} -e 's,doc/cmus/examples,examples/cmus,g' \ - ${WRKSRC}/Makefile ${WRKSRC}/Doc/cmus.txt - @${REINPLACE_CMD} -e 's,\/usr,${PREFIX},g' ${WRKSRC}/Doc/cmus.txt + ${WRKSRC}/Makefile ${WRKSRC}/Doc/cmus.txt + @${REINPLACE_CMD} -e 's,/usr,${PREFIX},g' ${WRKSRC}/Doc/cmus.txt .include