diff options
author | dhn <dhn@FreeBSD.org> | 2009-05-26 22:57:54 +0800 |
---|---|---|
committer | dhn <dhn@FreeBSD.org> | 2009-05-26 22:57:54 +0800 |
commit | 14ac9828d5758718bbd8ee862d9c27fd40da0bc1 (patch) | |
tree | 8c7b244938c2bd8db45a6142806b720bcc35e809 /audio/ncmpc | |
parent | 5123d39b9111aaba88e26bd38576ce1fbc22acb3 (diff) | |
download | freebsd-ports-gnome-14ac9828d5758718bbd8ee862d9c27fd40da0bc1.tar.gz freebsd-ports-gnome-14ac9828d5758718bbd8ee862d9c27fd40da0bc1.tar.zst freebsd-ports-gnome-14ac9828d5758718bbd8ee862d9c27fd40da0bc1.zip |
- Add lyrics screen support
PR: ports/134936
Submitted by: Henrik Friedrichsen <hrkfdn@gmail.com> (maintainer)
Diffstat (limited to 'audio/ncmpc')
-rw-r--r-- | audio/ncmpc/Makefile | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/audio/ncmpc/Makefile b/audio/ncmpc/Makefile index 2b02e61cd47d..254cd1236b5d 100644 --- a/audio/ncmpc/Makefile +++ b/audio/ncmpc/Makefile @@ -7,6 +7,7 @@ PORTNAME= ncmpc PORTVERSION= 0.14 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/musicpd @@ -15,18 +16,19 @@ COMMENT= Ncurses client for the musicpd GNU_CONFIGURE= yes USE_GNOME= glib20 -CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -OPTIONS= NLS "Native language support" on +OPTIONS= NLS "Native language support" on \ + LYRICS "Compile with lyrics screen" on .include <bsd.port.pre.mk> USE_ICONV= yes PLIST_FILES= bin/ncmpc \ - %%EXAMPLESDIR%%/config \ - %%EXAMPLESDIR%%/keys \ - %%EXAMPLESDIR%%/ncmpc.lirc + %%EXAMPLESDIR%%/config \ + %%EXAMPLESDIR%%/keys \ + %%EXAMPLESDIR%%/ncmpc.lirc PLIST_DIRS=%%EXAMPLESDIR%% .ifdef(WITHOUT_NLS) @@ -40,6 +42,17 @@ PLIST_FILES+=share/locale/${language}/LC_MESSAGES/ncmpc.mo .endif +.ifdef(WITH_LYRICS) +CONFIGURE_ARGS+=--enable-lyrics-screen +PLIST_FILES+= lib/ncmpc/lyrics/01-hd.sh \ + lib/ncmpc/lyrics/02-lyricwiki.rb \ + lib/ncmpc/lyrics/03-leoslyrics.py +PLIST_DIRS+= lib/ncmpc/lyrics \ + lib/ncmpc +.else +CONFIGURE_ARGS+=--disable-lyrics-screen +.endif + MAN1= ncmpc.1 do-install: @@ -55,5 +68,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/po/${language}.gmo ${PREFIX}/share/locale/${language}/LC_MESSAGES/ncmpc.mo .endfor .endif +.if !defined(WITHOUT_LYRICS) + ${MAKE} -C ${WRKSRC} install-exec-local +.endif .include <bsd.port.post.mk> |