aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-08-16 18:18:47 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-08-16 18:18:47 +0000
commitb6870af0f3dc29b0298343ef76ef50caf7cb39f1 (patch)
treed613a1fa16a5f7552b7ec2bf7f1b3a45a89c3b1f /audio
parentc125347c7ea65407a8b85b3f6c16f39f4f958152 (diff)
downloadports-b6870af0f3dc29b0298343ef76ef50caf7cb39f1.tar.gz
ports-b6870af0f3dc29b0298343ef76ef50caf7cb39f1.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/fpc-mad/Makefile23
-rw-r--r--audio/fpc-mad/pkg-plist9
3 files changed, 33 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index bbd74edba1b8..e60a744dac51 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -197,6 +197,7 @@
SUBDIR += fmio
SUBDIR += fmit
SUBDIR += fpc-a52
+ SUBDIR += fpc-mad
SUBDIR += freealut
SUBDIR += freedesktop-sound-theme
SUBDIR += freepats
diff --git a/audio/fpc-mad/Makefile b/audio/fpc-mad/Makefile
new file mode 100644
index 000000000000..d3838348faf0
--- /dev/null
+++ b/audio/fpc-mad/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: fpc-mad
+# Date created: 2010-04-22
+# Whom: Christopher Key <cjk32@cam.ac.uk>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 0
+CATEGORIES= audio lang
+PKGNAMESUFFIX= -mad
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Free Pascal interface to mad library
+
+USE_FPC= yes
+
+MASTERDIR= ${.CURDIR}/../../lang/fpc
+WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
+EXTRACTUNITDIR+= ${WRKUNITDIR}
+
+OPTIONS= LIBMAD "Install mad library" on
+
+.include "${MASTERDIR}/Makefile"
diff --git a/audio/fpc-mad/pkg-plist b/audio/fpc-mad/pkg-plist
new file mode 100644
index 000000000000..216c79383b6e
--- /dev/null
+++ b/audio/fpc-mad/pkg-plist
@@ -0,0 +1,9 @@
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/mad/Package.fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/mad/mad.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/mad/mad.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/mad/libpmad.a
+@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/mad
+@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
+@dirrmtry lib/fpc/%%PORTVERSION%%/units
+@dirrmtry lib/fpc/%%PORTVERSION%%
+@dirrmtry lib/fpc