diff options
author | miwi <miwi@FreeBSD.org> | 2008-06-01 20:52:53 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-06-01 20:52:53 +0800 |
commit | f68ff23654ba68f995b5f1a82fc02f9d4803a450 (patch) | |
tree | 86b22b56ddd1100a2dcf5ef82f7d5104dce934d8 /audio/gtick | |
parent | 1817762b9f0eaaceb31c312762dfdfc4912d2a7b (diff) | |
download | freebsd-ports-gnome-f68ff23654ba68f995b5f1a82fc02f9d4803a450.tar.gz freebsd-ports-gnome-f68ff23654ba68f995b5f1a82fc02f9d4803a450.tar.zst freebsd-ports-gnome-f68ff23654ba68f995b5f1a82fc02f9d4803a450.zip |
- Add support for WITHOUT_NLS option
- Fix the post-patch target
- Remove un-necessary Author line in pkg-descr
- Pass maintainership to submitter
PR: 124158
Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com>
Diffstat (limited to 'audio/gtick')
-rw-r--r-- | audio/gtick/Makefile | 17 | ||||
-rw-r--r-- | audio/gtick/pkg-descr | 1 | ||||
-rw-r--r-- | audio/gtick/pkg-plist | 56 |
3 files changed, 40 insertions, 34 deletions
diff --git a/audio/gtick/Makefile b/audio/gtick/Makefile index 7adc875eb390..92ee7e934524 100644 --- a/audio/gtick/Makefile +++ b/audio/gtick/Makefile @@ -10,21 +10,28 @@ PORTVERSION= 0.4.2 CATEGORIES= audio MASTER_SITES= http://www.antcom.de/gtick/download/ CENKES -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ganael.laplanche@martymac.com COMMENT= A metronome application LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile GNU_CONFIGURE= yes USE_GNOME= gtk20 -USE_GETTEXT= yes CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -MAN1= gtick.1 +MAN1= gtick.1 + +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +CONFIGURE_ARGS+= --enable-nls +PLIST_SUB+= NLS="" +.endif post-patch: - @${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' ${WRKSRC}/src/dsp.c - @${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure .include <bsd.port.mk> diff --git a/audio/gtick/pkg-descr b/audio/gtick/pkg-descr index a8b8eb2db9d7..b334657f58d4 100644 --- a/audio/gtick/pkg-descr +++ b/audio/gtick/pkg-descr @@ -3,4 +3,3 @@ per minute to 1000 BPM and arbitrary beat modes (meters). It uses GTK+2 and OSS. WWW: http://www.antcom.de/gtick/ -Author: Roland Stigge <stigge@antcom.de> diff --git a/audio/gtick/pkg-plist b/audio/gtick/pkg-plist index d4204563f0db..049c9a12744b 100644 --- a/audio/gtick/pkg-plist +++ b/audio/gtick/pkg-plist @@ -1,29 +1,29 @@ bin/gtick -share/locale/af/LC_MESSAGES/gtick.mo -share/locale/ca/LC_MESSAGES/gtick.mo -share/locale/cs/LC_MESSAGES/gtick.mo -share/locale/da/LC_MESSAGES/gtick.mo -share/locale/de/LC_MESSAGES/gtick.mo -share/locale/en@boldquot/LC_MESSAGES/gtick.mo -share/locale/en@quot/LC_MESSAGES/gtick.mo -share/locale/es/LC_MESSAGES/gtick.mo -share/locale/eu/LC_MESSAGES/gtick.mo -share/locale/fi/LC_MESSAGES/gtick.mo -share/locale/fr/LC_MESSAGES/gtick.mo -share/locale/ga/LC_MESSAGES/gtick.mo -share/locale/it/LC_MESSAGES/gtick.mo -share/locale/ko/LC_MESSAGES/gtick.mo -share/locale/nl/LC_MESSAGES/gtick.mo -share/locale/pl/LC_MESSAGES/gtick.mo -share/locale/pt_BR/LC_MESSAGES/gtick.mo -share/locale/ro/LC_MESSAGES/gtick.mo -share/locale/ru/LC_MESSAGES/gtick.mo -share/locale/sk/LC_MESSAGES/gtick.mo -share/locale/sv/LC_MESSAGES/gtick.mo -share/locale/uk/LC_MESSAGES/gtick.mo -share/locale/vi/LC_MESSAGES/gtick.mo -share/locale/zh_CN/LC_MESSAGES/gtick.mo -@dirrmtry share/locale/en@quot/LC_MESSAGES -@dirrmtry share/locale/en@quot -@dirrmtry share/locale/en@boldquot/LC_MESSAGES -@dirrmtry share/locale/en@boldquot +%%NLS%%share/locale/af/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/ca/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/cs/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/da/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/de/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/en@boldquot/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/en@quot/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/es/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/eu/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/fi/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/fr/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/ga/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/it/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/ko/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/nl/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/pl/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/ro/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/ru/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/sk/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/sv/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/uk/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/vi/LC_MESSAGES/gtick.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/gtick.mo +%%NLS%%@dirrmtry share/locale/en@quot/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/en@quot +%%NLS%%@dirrmtry share/locale/en@boldquot/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/en@boldquot |