2013-06-12 21:20:40 +02:00
|
|
|
# Created by: nox@jelal.kn-bremen.de
|
2000-04-07 12:36:18 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-08 23:25:03 +02:00
|
|
|
PORTNAME= gramofile
|
2005-11-02 06:25:44 +01:00
|
|
|
PORTVERSION= 1.6P
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 14
|
2000-04-07 12:36:18 +02:00
|
|
|
CATEGORIES= audio
|
2005-11-02 06:25:44 +01:00
|
|
|
MASTER_SITES= http://www.opensourcepartners.nl/~costar/gramofile/
|
|
|
|
|
2015-04-10 20:53:28 +02:00
|
|
|
PATCH_SITES= LOCAL/nox/
|
2005-11-02 06:25:44 +01:00
|
|
|
PATCHFILES= ${PORTNAME}_1.6-7.diff.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
2000-04-07 12:36:18 +02:00
|
|
|
|
2015-12-14 03:52:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= Audio recording and tick/scratch reduction for e.g. vinyl records
|
2000-04-07 12:36:18 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libfftw.so:math/fftw
|
2005-11-02 06:25:44 +01:00
|
|
|
|
2008-05-07 11:21:05 +02:00
|
|
|
ALL_TARGET= gramofile
|
2016-11-19 16:56:53 +01:00
|
|
|
USES= alias gmake ncurses perl5
|
2011-06-28 21:59:02 +02:00
|
|
|
USE_CSTD= gnu89
|
2015-12-27 15:00:57 +01:00
|
|
|
MAKE_ARGS= CC="${CC}" \
|
|
|
|
CXX="${CXX}" \
|
|
|
|
PERLCOREDIR=${PERLCOREDIR}
|
2018-03-02 23:34:53 +01:00
|
|
|
CFLAGS+= -D_WANT_SEMUN
|
2005-11-02 06:25:44 +01:00
|
|
|
|
2014-11-07 14:51:10 +01:00
|
|
|
PERLCOREDIR= ${LOCALBASE}/lib/perl5/${PERL_VER}/${PERL_ARCH}/CORE
|
2015-12-27 15:00:57 +01:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2005-11-02 06:25:44 +01:00
|
|
|
|
2002-06-07 04:21:52 +02:00
|
|
|
post-patch:
|
2005-11-02 06:25:44 +01:00
|
|
|
${RM} ${WRKSRC}/debian/20-warning-fixes.dpatch
|
|
|
|
for i in ${WRKSRC}/debian/*.dpatch; do \
|
|
|
|
${PATCH} -d ${WRKSRC} `${SED} -n '/^#PATCHOPTIONS:/{s///;p;q;}' $$i` --forward --quiet <$$i ;\
|
|
|
|
done
|
|
|
|
for i in `${LS} ${FILESDIR}/post-patch-* |${SED} /.orig$$/d`; do \
|
|
|
|
${PATCH} -d ${WRKSRC} --forward --quiet <$$i ;\
|
|
|
|
done
|
2016-11-19 16:56:53 +01:00
|
|
|
${REINPLACE_CMD} -e "s@-lncurses@-L${LOCALBASE}/lib -lncurses@g" \
|
|
|
|
-e "s|CFLAGS =|CFLAGS +=|" \
|
|
|
|
${WRKSRC}/bplaysrc/Makefile
|
|
|
|
${REINPLACE_CMD} -e 's,machine/soundcard.h,sys/soundcard.h,' \
|
|
|
|
${WRKSRC}/bplaysrc/bplay.c \
|
|
|
|
${WRKSRC}/bplaysrc/sndfunc.c
|
2002-06-07 04:21:52 +02:00
|
|
|
|
2000-04-07 12:36:18 +02:00
|
|
|
do-install:
|
2014-03-01 17:52:20 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gramofile ${WRKSRC}/bplay_gramo \
|
|
|
|
${STAGEDIR}${PREFIX}/bin
|
2015-12-27 15:00:57 +01:00
|
|
|
${LN} -s bplay_gramo ${STAGEDIR}${PREFIX}/bin/brec_gramo
|
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-03-01 17:52:20 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2000-04-07 12:36:18 +02:00
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|