summaryrefslogtreecommitdiff
path: root/audio/adplay/Makefile
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-09 20:22:21 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-09 20:22:21 +0000
commit0cfa74669b1364a7ca131b5f21796e930eb27711 (patch)
treec5453d2937858be19dfbb55e434be7c2a76dba10 /audio/adplay/Makefile
parentAdPlug is a free, cross-platform, hardware independent AdLib sound player (diff)
Adplay is a command line AdLib player using the adplug library. It supports
many AdLib formats such as HSP and HSC. WWW: http://adplug.sourceforge.net/ PR: ports/80727 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Notes
Notes: svn path=/head/; revision=134949
Diffstat (limited to 'audio/adplay/Makefile')
-rw-r--r--audio/adplay/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/audio/adplay/Makefile b/audio/adplay/Makefile
new file mode 100644
index 000000000000..d76a9b9a0d69
--- /dev/null
+++ b/audio/adplay/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: adplay
+# Date created: 10 August 2004
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= adplay
+PORTVERSION= 1.4
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= adplug
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= AdLib player using adplug library
+
+LIB_DEPENDS= adplug-1.5.0:${PORTSDIR}/audio/libadplug
+
+PLIST_FILES= bin/adplay
+
+GNU_CONFIGURE= yes
+
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+CONFIGURE_ENV= CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+ CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+
+MAN1= adplay.1
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${OSVERSION} > 500000
+ ${RM} ${WRKSRC}/src/getopt.h
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/adplay ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/adplay.1 ${MANPREFIX}/man/man1
+
+.include <bsd.port.post.mk>