summaryrefslogtreecommitdiff
path: root/audio/ncmpcpp/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-11-07 01:43:07 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-11-07 01:43:07 +0000
commit3687eb5a1191968b6660f262786536dda15898d7 (patch)
tree9a2f5f2eb105059649aa5c23f538cf0ffa132db8 /audio/ncmpcpp/Makefile
parent- Update to 3.0.0rc3 to fix a memory leak. (diff)
- 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)
Notes
Notes: svn path=/head/; revision=222481
Diffstat (limited to 'audio/ncmpcpp/Makefile')
-rw-r--r--audio/ncmpcpp/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/ncmpcpp/Makefile b/audio/ncmpcpp/Makefile
index 2f7b29179d81..e2b753f62e1e 100644
--- a/audio/ncmpcpp/Makefile
+++ b/audio/ncmpcpp/Makefile
@@ -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 \