diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2012-06-15 09:56:13 +0000 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2012-06-15 09:56:13 +0000 |
commit | 6b45d74427350b307d125a65300dd7c6429e7c20 (patch) | |
tree | 23b23ac3373140072142b0daf643f4d5de85c1c6 /audio/gtick/Makefile | |
parent | 11be97e555ca541e44ad4422fc5323fbf547332e (diff) |
Notes
Diffstat (limited to 'audio/gtick/Makefile')
-rw-r--r-- | audio/gtick/Makefile | 16 |
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: |