diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-05-09 20:22:21 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-05-09 20:22:21 +0000 |
commit | 0cfa74669b1364a7ca131b5f21796e930eb27711 (patch) | |
tree | c5453d2937858be19dfbb55e434be7c2a76dba10 /audio | |
parent | 8e9ee1ebda047a258ec803b2c90bb227f09d3255 (diff) | |
download | ports-0cfa74669b1364a7ca131b5f21796e930eb27711.tar.gz ports-0cfa74669b1364a7ca131b5f21796e930eb27711.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/adplay/Makefile | 44 | ||||
-rw-r--r-- | audio/adplay/distinfo | 2 | ||||
-rw-r--r-- | audio/adplay/files/patch-src_adplay.cc | 21 | ||||
-rw-r--r-- | audio/adplay/pkg-descr | 7 |
5 files changed, 75 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 8cc4390c37be..22eb2e2b582a 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -10,6 +10,7 @@ SUBDIR += abcselect SUBDIR += ac3dec SUBDIR += adpcm + SUBDIR += adplay SUBDIR += afsp SUBDIR += akode SUBDIR += akode-plugins-jack 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> diff --git a/audio/adplay/distinfo b/audio/adplay/distinfo new file mode 100644 index 000000000000..2574d396636a --- /dev/null +++ b/audio/adplay/distinfo @@ -0,0 +1,2 @@ +MD5 (adplay-1.4.tar.gz) = 1fbb6ccbc3f559cbec8768e2554a1d59 +SIZE (adplay-1.4.tar.gz) = 338761 diff --git a/audio/adplay/files/patch-src_adplay.cc b/audio/adplay/files/patch-src_adplay.cc new file mode 100644 index 000000000000..600fdf958a82 --- /dev/null +++ b/audio/adplay/files/patch-src_adplay.cc @@ -0,0 +1,21 @@ +--- src/adplay.cc.orig Fri May 6 19:23:17 2005 ++++ src/adplay.cc Fri May 6 19:23:24 2005 +@@ -25,16 +25,15 @@ + #include <adplug/adplug.h> + #include <adplug/emuopl.h> + #include <adplug/kemuopl.h> ++#include <getopt.h> + + /* +- * Apple (OS X) and Sun systems declare getopt in unistd.h, other systems +- * (Linux) use getopt.h. +- */ + #if defined ( __APPLE__ ) || ( defined (__SVR4) && defined (__sun) ) + # include <unistd.h> + #else + # include "getopt.h" + #endif ++*/ + + #include "defines.h" + #include "output.h" diff --git a/audio/adplay/pkg-descr b/audio/adplay/pkg-descr new file mode 100644 index 000000000000..03298633b9d5 --- /dev/null +++ b/audio/adplay/pkg-descr @@ -0,0 +1,7 @@ +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/ + +- ehaupt +ehaupt@critical.ch |