summaryrefslogtreecommitdiff
path: root/audio/wav2cdr/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-09 15:21:57 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-09 15:21:57 +0000
commitc8edc8a565b254caa963007932e922fd92f2ee36 (patch)
tree4f742b5446d48bd90f4353bbd2e2cabcb088509d /audio/wav2cdr/Makefile
parentMark BROKEN on sparc64 until maintainer can look at it (diff)
Add wav2cdr 2.3.3, converts WAV files into CDR audio file format.
PR: ports/85901 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Notes
Notes: svn path=/head/; revision=142290
Diffstat (limited to 'audio/wav2cdr/Makefile')
-rw-r--r--audio/wav2cdr/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/audio/wav2cdr/Makefile b/audio/wav2cdr/Makefile
new file mode 100644
index 000000000000..ae7491b782d5
--- /dev/null
+++ b/audio/wav2cdr/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: wav2cdr
+# Date created: 9 Sep 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wav2cdr
+PORTVERSION= 2.3.3
+CATEGORIES= audio converters
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/sound/convert
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= Converts WAV files into CDR audio file format
+
+USE_GETOPT_LONG=yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+SRC= wav2cdr cmdarg data fileio process
+
+PLIST_FILES= bin/wav2cdr
+MAN1= wav2cdr.1
+
+do-build:
+.for f in ${SRC}
+ ${CC} ${CFLAGS} -c -o ${WRKSRC}/${f}.o ${WRKSRC}/${f}.c
+.endfor
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \
+ ${SRC:C/(.*)/${WRKSRC}\/\1.o/}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>