aboutsummaryrefslogtreecommitdiff
path: root/multimedia/atomicparsley
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/atomicparsley')
-rw-r--r--multimedia/atomicparsley/Makefile26
-rw-r--r--multimedia/atomicparsley/distinfo3
-rw-r--r--multimedia/atomicparsley/files/patch-build21
-rw-r--r--multimedia/atomicparsley/pkg-descr9
4 files changed, 59 insertions, 0 deletions
diff --git a/multimedia/atomicparsley/Makefile b/multimedia/atomicparsley/Makefile
new file mode 100644
index 000000000000..a049a6f2ce1a
--- /dev/null
+++ b/multimedia/atomicparsley/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: AtomicParsley
+# Date created: 2008-04-08
+# Whom: Bapt <baptiste.daroussin@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= AtomicParsley
+PORTVERSION= 0.9.0
+CATEGORIES= multimedia
+MASTER_SITES= SF
+DISTNAME= ${PORTNAME}-source-${PORTVERSION}
+
+MAINTAINER= baptiste.daroussin@gmail.com
+COMMENT= Command line program for reading parsing and setting MP4/M4A metadata
+
+USE_ZIP= yes
+
+PLIST_FILES= bin/AtomicParsley
+
+do-build:
+ cd ${WRKSRC} && ./build
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/AtomicParsley ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/multimedia/atomicparsley/distinfo b/multimedia/atomicparsley/distinfo
new file mode 100644
index 000000000000..242825f7cb15
--- /dev/null
+++ b/multimedia/atomicparsley/distinfo
@@ -0,0 +1,3 @@
+MD5 (AtomicParsley-source-0.9.0.zip) = 681e6ecec2921c98e07a9262bdcd6cf2
+SHA256 (AtomicParsley-source-0.9.0.zip) = de83f219f95e6fe59099b277e3ced86f0430ad9468e845783092821dff15a72e
+SIZE (AtomicParsley-source-0.9.0.zip) = 172615
diff --git a/multimedia/atomicparsley/files/patch-build b/multimedia/atomicparsley/files/patch-build
new file mode 100644
index 000000000000..3ec7fbc8cf9e
--- /dev/null
+++ b/multimedia/atomicparsley/files/patch-build
@@ -0,0 +1,21 @@
+--- ./build.orig 2006-09-10 17:02:58.000000000 +0200
++++ ./build 2008-04-08 14:30:11.000000000 +0200
+@@ -26,7 +26,8 @@
+ else
+ EXTRA_CPP_FLAGS=""
+ fi
+-
++elif (test $OS = FreeBSD) ;then
++ EXTRA_CPP_FLAGS="$CFLAGS"
+ else
+ ## Windows (cygwin & mingw) fall here ##
+ EXTRA_CPP_FLAGS=""
+@@ -93,6 +94,8 @@
+ elif test $OS = CYGWIN ; then
+ g++ -g -O2 -Wall -o AtomicParsley.exe obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o -lgcc
+
++elif test $OS = FreeBSD; then
++ g++ -O2 -Wall -o AtomicParsley obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o
+ else
+ g++ -g -O2 -Wall -o AtomicParsley.exe obj_files/APar_sha1.o obj_files/APar_uuid.o obj_files/AP_commons.o obj_files/AtomicParsley_genres.o obj_files/AP_iconv.o obj_files/AP_AtomExtracts.o obj_files/AtomicParsley.o obj_files/main.o
+ fi
diff --git a/multimedia/atomicparsley/pkg-descr b/multimedia/atomicparsley/pkg-descr
new file mode 100644
index 000000000000..6e616d60026a
--- /dev/null
+++ b/multimedia/atomicparsley/pkg-descr
@@ -0,0 +1,9 @@
+AtomicParsley is a lightweight command line program for reading, parsing and
+setting metadata into MPEG-4 files supporting these styles of metadata:
+
+ * iTunes-style metadata into .mp4, .m4a, .m4p, .m4v, .m4b files
+ * 3gp-style assets in 3GPP, 3GPP2, MobileMP4 & derivatives
+ * ISO copyright notices at movie & track level for MPEG-4
+ * uuid private user extension text & file embedding for MPEG-4
+
+WWW: http://atomicparsley.sourceforge.net/