diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-25 10:43:21 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-25 10:43:21 +0800 |
commit | 6381982ba5167cf3e0036c70e48cfeb1c87c212d (patch) | |
tree | 8600041db08abdf1ee38ccf714511abc786886c7 /audio/cantus_3 | |
parent | 02ad9d554b97f808b84685626b3201b4301f9baf (diff) | |
download | marcuscom-ports-6381982ba5167cf3e0036c70e48cfeb1c87c212d.tar marcuscom-ports-6381982ba5167cf3e0036c70e48cfeb1c87c212d.tar.gz marcuscom-ports-6381982ba5167cf3e0036c70e48cfeb1c87c212d.tar.bz2 marcuscom-ports-6381982ba5167cf3e0036c70e48cfeb1c87c212d.tar.lz marcuscom-ports-6381982ba5167cf3e0036c70e48cfeb1c87c212d.tar.xz marcuscom-ports-6381982ba5167cf3e0036c70e48cfeb1c87c212d.tar.zst marcuscom-ports-6381982ba5167cf3e0036c70e48cfeb1c87c212d.zip |
USE_X_PREFIX -> USE_XLIB, bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6772 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/cantus_3')
-rw-r--r-- | audio/cantus_3/Makefile | 43 | ||||
-rw-r--r-- | audio/cantus_3/distinfo | 3 | ||||
-rw-r--r-- | audio/cantus_3/files/patch-build.sh | 17 | ||||
-rw-r--r-- | audio/cantus_3/files/patch-src::libs::lib_charset.c | 11 | ||||
-rw-r--r-- | audio/cantus_3/files/patch-src::plugins::lib_charset.c | 11 | ||||
-rw-r--r-- | audio/cantus_3/pkg-descr | 7 | ||||
-rw-r--r-- | audio/cantus_3/pkg-plist | 23 |
7 files changed, 115 insertions, 0 deletions
diff --git a/audio/cantus_3/Makefile b/audio/cantus_3/Makefile new file mode 100644 index 000000000..296c03304 --- /dev/null +++ b/audio/cantus_3/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: cantus_3 +# Date created: 18 May 2004 +# Whom: asa@gascom.ru +# +# $FreeBSD$ +# + +PORTNAME= cantus_3 +PORTVERSION= 3.0.0 +PORTREVISION= 3 +CATEGORIES= audio +MASTER_SITES= ftp://ftp.gascom.ru/pub/asa/ \ + http://web222.mis02.de/releases/cantus_3/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-1 + +MAINTAINER= asa@gascom.ru +COMMENT= Tool for tagging and renaming MP3 and OGG/Vorbis files + +BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 +LIB_DEPENDS= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtkmm20 \ + glademm-2.0.1:${PORTSDIR}/devel/libglademm \ + ogg.5:${PORTSDIR}/audio/libogg \ + vorbis.3:${PORTSDIR}/audio/libvorbis + +USE_GMAKE= yes +USE_GNOME= gnomehack gnomeprefix libglade2 +USE_XLIB= yes + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +IGNORE= Does not build on 4.X. +.endif + +BASH?= ${LOCALBASE}/bin/bash + +do-build: + @cd ${WRKSRC} && ${BASH} build.sh --prefix '${PREFIX}' + +do-install: + @cd ${WRKSRC} && ${BASH} build.sh --install --prefix '${PREFIX}' + +.include <bsd.port.post.mk> diff --git a/audio/cantus_3/distinfo b/audio/cantus_3/distinfo new file mode 100644 index 000000000..81faa205b --- /dev/null +++ b/audio/cantus_3/distinfo @@ -0,0 +1,3 @@ +MD5 (cantus_3-3.0.0-1.tar.gz) = 4bce0d2682ae2d03da2ff710d186bb78 +SHA256 (cantus_3-3.0.0-1.tar.gz) = 945f71979721c7212befcaf84e462a9101138798baf46b1c0474779ff6bd4ee0 +SIZE (cantus_3-3.0.0-1.tar.gz) = 185810 diff --git a/audio/cantus_3/files/patch-build.sh b/audio/cantus_3/files/patch-build.sh new file mode 100644 index 000000000..a4422fd98 --- /dev/null +++ b/audio/cantus_3/files/patch-build.sh @@ -0,0 +1,17 @@ +--- build.sh.orig Wed Apr 21 20:26:52 2004 ++++ build.sh Mon Mar 7 12:11:44 2005 +@@ -164,12 +164,8 @@ + INST_LIBDIR="$INST_PREFIX/lib/$EXECUTABLE" + INST_LOCALEDIR="$INST_PREFIX/share/locale" + INST_PIXMAPDIR="$INST_PREFIX/lib/$EXECUTABLE" +-INST_DOCDIR="$INST_PREFIX/doc/$EXECUTABLE" +-if [ -d "/usr/share/gnome/help/" ]; then +- INST_GNOMEDOCDIR="/usr/share/gnome/help/$EXECUTABLE/C" +-else +- INST_GNOMEDOCDIR="/usr/local/share/gnome/help/$EXECUTABLE/C" +-fi ++INST_DOCDIR="$INST_PREFIX/share/doc/$EXECUTABLE" ++INST_GNOMEDOCDIR="$INST_PREFIX/share/gnome/help/$EXECUTABLE/C" + + # Preprocessor macros: + MACROS="PACKAGE_LIB_DIR=$INST_LIBDIR/\ diff --git a/audio/cantus_3/files/patch-src::libs::lib_charset.c b/audio/cantus_3/files/patch-src::libs::lib_charset.c new file mode 100644 index 000000000..8e0b76fb7 --- /dev/null +++ b/audio/cantus_3/files/patch-src::libs::lib_charset.c @@ -0,0 +1,11 @@ +--- src/libs/lib_charset.c.orig Tue May 18 14:25:50 2004 ++++ src/libs/lib_charset.c Tue May 18 14:25:59 2004 +@@ -207,7 +207,7 @@ + outptr = out; + + retry: +- if (iconv(cd, (char**)&input, &length, &outptr, &outleft) == -1) { ++ if (iconv(cd, (const char**)&input, &length, &outptr, &outleft) == -1) { + int used; + switch (errno) { + case E2BIG: diff --git a/audio/cantus_3/files/patch-src::plugins::lib_charset.c b/audio/cantus_3/files/patch-src::plugins::lib_charset.c new file mode 100644 index 000000000..d7c4e6df6 --- /dev/null +++ b/audio/cantus_3/files/patch-src::plugins::lib_charset.c @@ -0,0 +1,11 @@ +--- src/plugins/lib_charset.c.orig Tue May 18 14:17:18 2004 ++++ src/plugins/lib_charset.c Tue May 18 14:17:34 2004 +@@ -191,7 +191,7 @@ + outptr = out; + + retry: +- if (iconv(cd, (char**)&input, &length, &outptr, &outleft) == -1) { ++ if (iconv(cd, (const char**)&input, &length, &outptr, &outleft) == -1) { + int used; + switch (errno) { + case E2BIG: diff --git a/audio/cantus_3/pkg-descr b/audio/cantus_3/pkg-descr new file mode 100644 index 000000000..19b2c242e --- /dev/null +++ b/audio/cantus_3/pkg-descr @@ -0,0 +1,7 @@ +Cantus is an easy to use tool for tagging and renaming MP3 and OGG/Vorbis files. +It has many features including mass tagging and renaming of MP3s, the ability to +generate a tag out of the filename, filter definitions for renaming, recursive +actions, CDDB (Freedb) lookup (no CD needed), copy between ID3V1 and ID3V2 tags, +and a lot more. + +WWW: http://www.debain.org/software/cantus/ diff --git a/audio/cantus_3/pkg-plist b/audio/cantus_3/pkg-plist new file mode 100644 index 000000000..4e47af908 --- /dev/null +++ b/audio/cantus_3/pkg-plist @@ -0,0 +1,23 @@ +bin/cantus_3 +lib/cantus_3/id3v1.so +lib/cantus_3/vorbis.so +lib/cantus_3/id3copier.so +lib/cantus_3/tag2filename.so +lib/cantus_3/mpegheader.so +lib/cantus_3/id3v2.so +lib/cantus_3/cantus-3.glade +lib/cantus_3/general.png +lib/cantus_3/cantus_tag.png +share/gnome/help/cantus_3/C/figures/cantus_start_window.png +share/gnome/help/cantus_3/C/legal.xml +share/gnome/help/cantus_3/C/cantus_3.xml +share/gnome/help/cantus_3/C/cantus_start_window.png +share/locale/de/LC_MESSAGES/cantus_3.mo +share/locale/es/LC_MESSAGES/cantus_3.mo +share/locale/fr/LC_MESSAGES/cantus_3.mo +share/locale/pl/LC_MESSAGES/cantus_3.mo +@dirrm share/gnome/help/cantus_3/C/figures +@dirrm share/gnome/help/cantus_3/C +@dirrm share/gnome/help/cantus_3/ +@dirrm share/doc/cantus_3 +@dirrm lib/cantus_3/ |