diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-12-13 18:59:28 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-12-13 18:59:28 +0000 |
commit | 3c43ce4c295c0d922c3f3dc2c50efcf99725124c (patch) | |
tree | 5bddcd5f7f89ba24d572cecc53af8e5933100608 /audio/mp3splt | |
parent | fb821c4c7aa6bec285bac5c5b5e4c39cde8c45c8 (diff) |
Notes
Diffstat (limited to 'audio/mp3splt')
-rw-r--r-- | audio/mp3splt/Makefile | 28 | ||||
-rw-r--r-- | audio/mp3splt/distinfo | 4 | ||||
-rw-r--r-- | audio/mp3splt/pkg-plist | 8 |
3 files changed, 17 insertions, 23 deletions
diff --git a/audio/mp3splt/Makefile b/audio/mp3splt/Makefile index 3ece642f0ecd..99df50d42926 100644 --- a/audio/mp3splt/Makefile +++ b/audio/mp3splt/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mp3splt -PORTVERSION= 2.5.2 +PORTVERSION= 2.6.2 CATEGORIES= audio MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION} @@ -14,33 +14,19 @@ LICENSE= GPLv2 LIB_DEPENDS= libmp3splt.so:${PORTSDIR}/audio/libmp3splt \ libltdl.so:${PORTSDIR}/devel/libltdl -USES= pkgconfig:build +USES= pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-oggsplt_symlink CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig -CPPFLAGS+= -I${LOCALBASE}/include +CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES= bin/mp3splt bin/oggsplt \ - man/man1/mp3splt.1.gz \ - man/man1/oggsplt.1.gz - -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= NLS OPTIONS_DEFAULT= NLS +OPTIONS_SUB= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -LANGUAGES= cs de_DE es fr_FR -.for language in ${LANGUAGES} -PLIST_FILES+= share/locale/${language}/LC_MESSAGES/mp3splt.mo -.endfor -PLIST_DIRSTRY+= share/locale/de_DE/LC_MESSAGES -PLIST_DIRSTRY+= share/locale/de_DE -.else -CONFIGURE_ARGS+= --disable-nls -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls .include <bsd.port.mk> diff --git a/audio/mp3splt/distinfo b/audio/mp3splt/distinfo index 1b17ae6a34aa..086d7d1c5f07 100644 --- a/audio/mp3splt/distinfo +++ b/audio/mp3splt/distinfo @@ -1,2 +1,2 @@ -SHA256 (mp3splt-2.5.2.tar.gz) = df093e8950ba8f160898296f57e7c9134316b6e20d51b3e66d9c3b39f5fc2a44 -SIZE (mp3splt-2.5.2.tar.gz) = 250066 +SHA256 (mp3splt-2.6.2.tar.gz) = 3ec32b10ddd8bb11af987b8cd1c76382c48d265d0ffda53041d9aceb1f103baa +SIZE (mp3splt-2.6.2.tar.gz) = 260901 diff --git a/audio/mp3splt/pkg-plist b/audio/mp3splt/pkg-plist new file mode 100644 index 000000000000..9aa8e3a63426 --- /dev/null +++ b/audio/mp3splt/pkg-plist @@ -0,0 +1,8 @@ +bin/mp3splt +bin/oggsplt +man/man1/mp3splt.1.gz +man/man1/oggsplt.1.gz +%%NLS%%share/locale/cs/LC_MESSAGES/mp3splt.mo +%%NLS%%share/locale/de_DE/LC_MESSAGES/mp3splt.mo +%%NLS%%share/locale/es/LC_MESSAGES/mp3splt.mo +%%NLS%%share/locale/fr_FR/LC_MESSAGES/mp3splt.mo |