aboutsummaryrefslogtreecommitdiff
path: root/audio/fcplay
diff options
context:
space:
mode:
Diffstat (limited to 'audio/fcplay')
-rw-r--r--audio/fcplay/Makefile18
-rw-r--r--audio/fcplay/files/patch-ab10
-rw-r--r--audio/fcplay/files/patch-ac49
-rw-r--r--audio/fcplay/pkg-plist1
4 files changed, 70 insertions, 8 deletions
diff --git a/audio/fcplay/Makefile b/audio/fcplay/Makefile
index bbfa43663331..3c56e43d1c13 100644
--- a/audio/fcplay/Makefile
+++ b/audio/fcplay/Makefile
@@ -16,14 +16,18 @@ MAINTAINER= anders@fix.no
BUILD_DEPENDS= ${LOCALBASE}/include/sidplay/compconf.h:${PORTSDIR}/audio/libsidplay
-CXXFLAGS+= -I${PREFIX}/include -DHAVE_FREEBSD -DHAVE_MACHINE_SOUNDCARD_H
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/fcplay-${PORTVERSION}
+CXXFLAGS+= -I${LOCALBASE}/include
-post-install:
- ${INSTALL} -d -m 555 ${PREFIX}/share/doc/fcplay
- @${INSTALL_DATA} ${WRKSRC}/ABOUT ${PREFIX}/share/doc/fcplay/
- @${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/fcplay/
- @${INSTALL_DATA} ${WRKSRC}/POINTER ${PREFIX}/share/doc/fcplay/
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/fcplay ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/fcplay
+ ${INSTALL_DATA} ${WRKSRC}/ABOUT ${PREFIX}/share/doc/fcplay
+ ${INSTALL_DATA} ${WRKSRC}/POINTER ${PREFIX}/share/doc/fcplay
+.endif
.include <bsd.port.mk>
diff --git a/audio/fcplay/files/patch-ab b/audio/fcplay/files/patch-ab
new file mode 100644
index 000000000000..e79c210bbaa2
--- /dev/null
+++ b/audio/fcplay/files/patch-ab
@@ -0,0 +1,10 @@
+--- AudioDriver.h.orig Tue Mar 4 06:47:00 1997
++++ AudioDriver.h Tue Dec 12 02:46:01 2000
+@@ -7,6 +7,7 @@
+ #include <string.h>
+ #include <sys/ioctl.h>
+ #include <unistd.h>
++#include "Config.h"
+
+ // These next includes were not required if libsidplay would not
+ // provide related HAVE_* definitions.
diff --git a/audio/fcplay/files/patch-ac b/audio/fcplay/files/patch-ac
new file mode 100644
index 000000000000..4f5069de86c4
--- /dev/null
+++ b/audio/fcplay/files/patch-ac
@@ -0,0 +1,49 @@
+--- configure.orig Thu May 28 04:08:00 1998
++++ configure Tue Dec 12 02:51:01 2000
+@@ -1631,41 +1631,6 @@
+ fi;
+
+
+-# Extract the first word of "makedepend", so it can be a program name with args.
+-set dummy makedepend; ac_word=$2
+-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1638: checking for $ac_word" >&5
+-if eval "test \"`echo '$''{'ac_cv_prog_MAKEDEP'+set}'`\" = set"; then
+- echo $ac_n "(cached) $ac_c" 1>&6
+-else
+- if test -n "$MAKEDEP"; then
+- ac_cv_prog_MAKEDEP="$MAKEDEP" # Let the user override the test.
+-else
+- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+- ac_dummy="$PATH"
+- for ac_dir in $ac_dummy; do
+- test -z "$ac_dir" && ac_dir=.
+- if test -f $ac_dir/$ac_word; then
+- ac_cv_prog_MAKEDEP="makedepend"
+- break
+- fi
+- done
+- IFS="$ac_save_ifs"
+- test -z "$ac_cv_prog_MAKEDEP" && ac_cv_prog_MAKEDEP="nomakedep"
+-fi
+-fi
+-MAKEDEP="$ac_cv_prog_MAKEDEP"
+-if test -n "$MAKEDEP"; then
+- echo "$ac_t""$MAKEDEP" 1>&6
+-else
+- echo "$ac_t""no" 1>&6
+-fi
+-
+-if test "$MAKEDEP" = "nomakedep"; then
+- { echo "configure: error: No ``makedepend'' found." 1>&2; exit 1; }
+-fi;
+-
+-
+ # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+@@ -2297,4 +2262,3 @@
+ test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
+
+
+-$MAKE depend
diff --git a/audio/fcplay/pkg-plist b/audio/fcplay/pkg-plist
index 79a808d02842..aa3d8dc26be3 100644
--- a/audio/fcplay/pkg-plist
+++ b/audio/fcplay/pkg-plist
@@ -1,5 +1,4 @@
bin/fcplay
share/doc/fcplay/ABOUT
-share/doc/fcplay/COPYING
share/doc/fcplay/POINTER
@dirrm share/doc/fcplay