blob: c214394302b086e6a4bbbc0f16b5fb2e1d438bc1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# New ports collection makefile for: koncd
# Date created: 2 April 2001
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= koncd
PORTVERSION= 1.0r2
CATEGORIES= sysutils kde
MASTER_SITES= http://www.koncd.org/download/ \
ftp://apps.kde.com/pub/Multimedia/Audio/Burners_Rippers/KOnCD/
DISTNAME= ${PORTNAME}-1.0rc2
MAINTAINER= demon@FreeBSD.org
BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
automake14:${PORTSDIR}/devel/automake14
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \
mkisofs:${PORTSDIR}/sysutils/mkisofs \
mpg123:${PORTSDIR}/audio/mpg123
USE_KDELIBS_VER=2
USE_GMAKE= yes
GNU_CONFIGURE= yes
.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
CONFIGURE_ARGS+=--disable-debug
.endif
.include <bsd.port.pre.mk>
post-patch:
@${FIND} ${WRKSRC} -type f -name '*.h' | ${XARGS} \
${PERL} -pi -e 's|^.*#.*include.*<malloc\.h>.*||g'
@${FIND} ${WRKSRC} -type f -name '*.cpp' | ${XARGS} \
${PERL} -pi -e 's|^.*#.*include.*<malloc\.h>.*||g'
pre-configure:
${MKDIR} ${WRKSRC}/auto-bin
.for AC in autoconf autoheader
${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
.endfor
.for AM in automake aclocal
${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
.endfor
cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
${GMAKE} -f Makefile.dist
.include <bsd.port.post.mk>
|