aboutsummaryrefslogtreecommitdiffstats
path: root/audio/linnya
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-10-15 10:27:53 +0800
committerjhale <jhale@FreeBSD.org>2012-10-15 10:27:53 +0800
commit133428dfbe10d1d7fd5f641a43225a9cbdf5c943 (patch)
tree2c2ed4672eb848ac0e2980b26f2627cd52f8f2ab /audio/linnya
parent5e6a0cedb280c5f86b761ea6e2a7e35b09fe8ae3 (diff)
downloadfreebsd-ports-gnome-133428dfbe10d1d7fd5f641a43225a9cbdf5c943.tar.gz
freebsd-ports-gnome-133428dfbe10d1d7fd5f641a43225a9cbdf5c943.tar.zst
freebsd-ports-gnome-133428dfbe10d1d7fd5f641a43225a9cbdf5c943.zip
- Update to 2.2.1
- Make NLS optional - Remove extraneous USE_AUTOTOOLS line and call libtoolize - Move ftp/curl dependency to LIB_DEPENDS - Add USE_PKGCONFIG - Trim Makefile header PR: ports/172654 Submitted by: XiaoQI Ge <ghw@7axu.com> (maintainer) Approved by: makc, avilla (mentors, implicit) Feature safe: yes
Diffstat (limited to 'audio/linnya')
-rw-r--r--audio/linnya/Makefile32
-rw-r--r--audio/linnya/distinfo4
-rw-r--r--audio/linnya/pkg-plist6
3 files changed, 26 insertions, 16 deletions
diff --git a/audio/linnya/Makefile b/audio/linnya/Makefile
index 4b286c0d4c8d..f7bfe986e14f 100644
--- a/audio/linnya/Makefile
+++ b/audio/linnya/Makefile
@@ -1,10 +1,7 @@
-# New ports collection makefile for: linnya
-# Date created: 1 Sep 2012
-# Whom: XiaoQI Ge <ghw@7axu.com>
# $FreeBSD$
PORTNAME= linnya
-PORTVERSION= 2.2.0
+PORTVERSION= 2.2.1
CATEGORIES= audio
MAINTAINER= ghw@7axu.com
@@ -12,24 +9,37 @@ COMMENT= A Linnya Audio Player
LICENSE= GPLv3
+LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
+
USE_GITHUB= yes
GH_ACCOUNT= herenvarno
-GH_COMMIT= 6724a9b
+GH_COMMIT= 5b0f38a
-USE_AUTOTOOLS= aclocal automake
+USE_AUTOTOOLS= libtoolize libtool
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_PKGCONFIG= build
USE_GNOME= gtk30
USE_SQLITE= 3
-USE_GETTEXT= yes
USE_GSTREAMER= good mp3 ogg
MAKE_JOBS_SAFE= yes
-USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
-WANT_GNOME= yes
-BUILD_DEPENDS+= curl:${PORTSDIR}/ftp/curl
-RUN_DEPENDS+= curl:${PORTSDIR}/ftp/curl
+LIBTOOLIZE_ARGS=--copy --force
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT= yes
+CONFIGURE_ARGS+=--enable-nls
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+post-patch:
+ ${REINPLACE_CMD} -e '/^$${CXXFLAGS/d' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/audio/linnya/distinfo b/audio/linnya/distinfo
index 6545d717a810..b2a2612273d2 100644
--- a/audio/linnya/distinfo
+++ b/audio/linnya/distinfo
@@ -1,2 +1,2 @@
-SHA256 (linnya-2.2.0.tar.gz) = c8add0b693cb882f45522231e585c3edb8adf1a33d59a0f1070fe84a8a64df6e
-SIZE (linnya-2.2.0.tar.gz) = 841288
+SHA256 (linnya-2.2.1.tar.gz) = 2849dffec695e701f96663df982a43bec93b79e7cd7cee2a29a1de039cccbe78
+SIZE (linnya-2.2.1.tar.gz) = 841321
diff --git a/audio/linnya/pkg-plist b/audio/linnya/pkg-plist
index e154c75e2a87..5fa243144729 100644
--- a/audio/linnya/pkg-plist
+++ b/audio/linnya/pkg-plist
@@ -110,9 +110,9 @@ share/icons/hicolor/scalable/apps/linnya.svg
%%DATADIR%%/uix/theme/default/linnya.css
%%DATADIR%%/uix/theme/default/sssbg/sssbg_1.jpg
%%DATADIR%%/uix/theme/default/sssbg/sssbg_2.jpg
-share/locale/zh_CN/LC_MESSAGES/linnya.mo
-share/locale/zh_HK/LC_MESSAGES/linnya.mo
-share/locale/zh_TW/LC_MESSAGES/linnya.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/linnya.mo
+%%NLS%%share/locale/zh_HK/LC_MESSAGES/linnya.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/linnya.mo
@dirrm %%DATADIR%%/uix/theme/default/sssbg
@dirrm %%DATADIR%%/uix/theme/default/image
@dirrm %%DATADIR%%/uix/theme/default