diff options
author | kevlo <kevlo@FreeBSD.org> | 2001-01-02 15:25:39 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2001-01-02 15:25:39 +0000 |
commit | 02def65b14a32ae775715fe4a5c165627b60d1cf (patch) | |
tree | 1d85dae0685325449ec909d0a1e6760d2affb21a /audio/fcplay | |
parent | 16cb9a9665b1733a3205a6732c7a733ae45359a7 (diff) | |
download | FreeBSD-ports-02def65b14a32ae775715fe4a5c165627b60d1cf.zip FreeBSD-ports-02def65b14a32ae775715fe4a5c165627b60d1cf.tar.gz |
- Fix compilation error under XFree86 4.x
- Add USE_GMAKE
- Strip binary
- Support NOPORTDOCS
- Exclude GPL doc from package
PR: 24007
Submitted by: MAINTAINER
Diffstat (limited to 'audio/fcplay')
-rw-r--r-- | audio/fcplay/Makefile | 18 | ||||
-rw-r--r-- | audio/fcplay/files/patch-ab | 10 | ||||
-rw-r--r-- | audio/fcplay/files/patch-ac | 49 | ||||
-rw-r--r-- | audio/fcplay/pkg-plist | 1 |
4 files changed, 70 insertions, 8 deletions
diff --git a/audio/fcplay/Makefile b/audio/fcplay/Makefile index bbfa436..3c56e43 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 0000000..e79c210 --- /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 0000000..4f5069d --- /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 79a808d..aa3d8dc 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 |