summaryrefslogtreecommitdiff
path: root/audio/gramofile/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-05-07 09:21:05 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-05-07 09:21:05 +0000
commita282063d3fc0226a9f8ce17fff36c0f24be99596 (patch)
tree2c0a8f67fb0f5c8dbf4efdbb1246dcacb66c0ecf /audio/gramofile/Makefile
parentCosmosmash is a game where you control a base that must destroy (diff)
- Remove perl support for preparing devel/swig11 removal. Since no one
responsed my query on -ports [1], I just remove this without adding the new Audio::Gramofile found on cpan [2]. Approved by: nox (maintainer) [1] http://docs.freebsd.org/cgi/mid.cgi?20080413075128.GQ16394 [2] The corresponding port can be found at http://people.freebsd.org/~rafan/p5-Audio-Gramofile.shar http://people.freebsd.org/~rafan/libgramofile.shar
Notes
Notes: svn path=/head/; revision=212782
Diffstat (limited to 'audio/gramofile/Makefile')
-rw-r--r--audio/gramofile/Makefile27
1 files changed, 2 insertions, 25 deletions
diff --git a/audio/gramofile/Makefile b/audio/gramofile/Makefile
index 1099c9423b6b..b48ee0a93c00 100644
--- a/audio/gramofile/Makefile
+++ b/audio/gramofile/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gramofile
PORTVERSION= 1.6P
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= http://www.opensourcepartners.nl/~costar/gramofile/
@@ -19,30 +19,15 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= nox@FreeBSD.org
COMMENT= Audio recording and tick/scratch reduction for e.g. vinyl records
-BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig11
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
-.if defined(WITH_SWIGDEPS)
-RUN_DEPENDS+= ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple
-RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
-RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox
-.endif
-
-ALL_TARGET= gramofile perl-swig
+ALL_TARGET= gramofile
USE_GMAKE= yes
USE_PERL5= yes
PERLCOREDIR= ${LOCALBASE}/lib/perl5/${PERL_VERSION}/mach/CORE
MAKE_ARGS+= PERLCOREDIR=${PERLCOREDIR}
-pre-everything::
-.if !defined(WITH_SWIGDEPS)
- @${ECHO_MSG} "If you want to use the perl-swig example,"
- @${ECHO_MSG} "${EXAMPLESDIR}/wav2mp3.pl,"
- @${ECHO_MSG} "you need additional depenencies. You can have this port install them by"
- @${ECHO_MSG} "defining WITH_SWIGDEPS."
-.endif
-
post-patch:
${RM} ${WRKSRC}/debian/20-warning-fixes.dpatch
for i in ${WRKSRC}/debian/*.dpatch; do \
@@ -51,9 +36,6 @@ post-patch:
for i in `${LS} ${FILESDIR}/post-patch-* |${SED} /.orig$$/d`; do \
${PATCH} -d ${WRKSRC} --forward --quiet <$$i ;\
done
- ${LN} -s ../signpr_cmf3.h ${WRKSRC}/perl-swig
- ${LN} -s ../signpr_cmf3.c ${WRKSRC}/perl-swig
- ${SED} -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/perl-swig/examples/wav2mp3.pl >${WRKDIR}/wav2mp3.pl
.for file in bplay.c sndfunc.c
@${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
${WRKSRC}/bplaysrc/${file} > ${WRKSRC}/bplaysrc/${file}.new
@@ -62,13 +44,8 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gramofile ${WRKSRC}/bplay_gramo ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/perl-swig/Gramofile.pm ${SITE_PERL}/${PERL_ARCH}
- ${INSTALL_DATA} ${WRKSRC}/perl-swig/Gramofile.so ${SITE_PERL}/${PERL_ARCH}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/perl-swig/README ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/wav2mp3.pl ${EXAMPLESDIR}
${LN} -s bplay_gramo ${PREFIX}/bin/brec_gramo
.include <bsd.port.mk>