aboutsummaryrefslogtreecommitdiff
path: root/audio/liba52-devel/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/liba52-devel/files/Makefile')
-rw-r--r--audio/liba52-devel/files/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/audio/liba52-devel/files/Makefile b/audio/liba52-devel/files/Makefile
new file mode 100644
index 000000000000..d208bee95ec1
--- /dev/null
+++ b/audio/liba52-devel/files/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+LIB= a52-devel
+SHLIB_MAJOR= ${LIB_VERSION}
+SHLIB_MINOR= 0
+CFLAGS+= -I${.CURDIR}
+
+SRCS= bit_allocate.c bitstream.c crc.c downmix.c imdct.c parse.c \
+ resample.c
+INCS= a52.h a52_internal.h a52_util.h mm_accel.h
+
+# idea taken from port security/libparanoia
+# hacks around <bsd.lib.mk>, which ignores PREFIX
+.if defined(PREFIX)
+DESTDIR= ${PREFIX}/
+.else
+DESTDIR= /usr/local/
+.endif
+INCSDIR= include/a52dec-devel/
+INCDIR= ${INCSDIR} # for pre-bsd.incs.mk API
+LIBDIR= lib/
+
+.include <bsd.lib.mk>