- Make ncurses dependency optional, bump PORTREVISION since people on

recent FreeBSD (since 1.5 years ago) have a dependency change.

PR:		ports/128627
Submitted by:	rafan
Approved by:	Dennis Herrmann <adox at mcx2.org> (maintainer)
This commit is contained in:
Rong-En Fan 2008-11-07 01:43:07 +00:00
parent 8fdd744480
commit 3687eb5a11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222481

View file

@ -7,6 +7,7 @@
PORTNAME= ncmpcpp
PORTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://unkart.ovh.org/ncmpcpp/ \
http://mirror.mcx2.org/
@ -14,8 +15,6 @@ MASTER_SITES= http://unkart.ovh.org/ncmpcpp/ \
MAINTAINER= adox@mcx2.org
COMMENT= A ncurses mpd client, clone of ncmpc with some new features
LIB_DEPENDS= ncursesw.5:${PORTSDIR}/devel/ncurses
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_ICONV= yes
@ -29,6 +28,10 @@ OPTIONS= CURL "Enable fetching lyrics from the Internet" on \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033)
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
.endif
PLIST_FILES= bin/ncmpcpp \
%%DOCSDIR%%/config \
%%DOCSDIR%%/keys \