blob: 7b036214865157a87906627583d923447bfee7c4 (
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
51
52
53
54
55
|
# ex:ts=8
# New ports collection makefile for: make++
# Date created: Fab 21, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= make++
DISTVERSION= 1.40.1a
CATEGORIES= devel perl5
MASTER_SITES= SF/${PORTNAME:S/+/p/g}/${DISTVERSION:S/a//}
DISTNAME= ${PORTNAME:S/+/p/g}-${DISTVERSION:S/\.a//}
MAINTAINER= ports@FreeBSD.org
COMMENT= A drop-in replacement for GNU make
LICENSE= ART10 GPLv1 GPLv2 GPLv3
LICENSE_COMB= dual
WRKSRC= ${WRKDIR}/${PORTNAME:S/+/p/g}-${DISTVERSION:R}
USE_PERL5= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${MANPREFIX}/man
DATADIR= ${PREFIX}/share/${PORTNAME:S/+/p/g}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/+/p/g}
MAN1= makepp.1 makepp_build_algorithm.1 \
makepp_builtin.1 makepp_command.1 \
makepp_cookbook.1 makepp_extending.1 \
makepp_functions.1 makepp_incompatibilities.1 \
makepp_release_notes.1 makepp_repositories.1 \
makepp_rules.1 makepp_scanning.1 \
makepp_signatures.1 makepp_statements.1 \
makepp_tutorial.1 makepp_tutorial_compilation.1 \
makepp_variables.1 makeppclient.1
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
.endif
.if defined(NOPORTDOCS)
CONFIGURE_ARGS+=--htmldir=none
.else
CONFIGURE_ARGS+=--htmldir=${DOCSDIR}/html
.endif
post-patch:
@${REINPLACE_CMD} -e '/^all:/s|test||' ${WRKSRC}/config.pl
.include <bsd.port.post.mk>
|