aboutsummaryrefslogtreecommitdiff
path: root/audio/gtick/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gtick/Makefile')
-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: