aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gtick
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2012-06-15 17:56:13 +0800
committermartymac <martymac@FreeBSD.org>2012-06-15 17:56:13 +0800
commitdbe8b0df61dcf54d9ec3d9c97db8f2166fb39ee3 (patch)
tree78a382d4d6279f42e4ab33ee15a17114fd635bca /audio/gtick
parentcb9693ae6299753b3c7ada8d546db29d1d5ea472 (diff)
downloadfreebsd-ports-gnome-dbe8b0df61dcf54d9ec3d9c97db8f2166fb39ee3.tar.gz
freebsd-ports-gnome-dbe8b0df61dcf54d9ec3d9c97db8f2166fb39ee3.tar.zst
freebsd-ports-gnome-dbe8b0df61dcf54d9ec3d9c97db8f2166fb39ee3.zip
- Switch to OptionsNg
- Un-version LIB_DEPENDS
Diffstat (limited to 'audio/gtick')
-rw-r--r--audio/gtick/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/audio/gtick/Makefile b/audio/gtick/Makefile
index c89775b612c3..ac818c43445f 100644
--- a/audio/gtick/Makefile
+++ b/audio/gtick/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gtick
PORTVERSION= 0.5.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www.antcom.de/gtick/download/ CENKES
@@ -16,8 +16,8 @@ COMMENT= A metronome application
LICENSE= GPLv3
-LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
- pulse-simple.0:${PORTSDIR}/audio/pulseaudio
+LIB_DEPENDS= sndfile:${PORTSDIR}/audio/libsndfile \
+ pulse-simple:${PORTSDIR}/audio/pulseaudio
GNU_CONFIGURE= yes
USE_GNOME= gtk20
@@ -25,13 +25,15 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= gtick.1
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.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: