summaryrefslogtreecommitdiff
path: root/devel/pcc-libs/Makefile
blob: daf891d74bd90b71b9cebf23232a747eedc55243 (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
# Created by: lightside <lightside@gmx.com>

PORTNAME=	pcc-libs
PORTVERSION=	1.1.0
CATEGORIES=	devel
MASTER_SITES=	ftp://pcc.ludd.ltu.se/pub/pcc-releases/ \
		http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/

MAINTAINER=	pi@FreeBSD.org
COMMENT=	Libraries for the Portable C Compiler

LICENSE=	BSDCOMPATIBLE BSD2CLAUSE BSD3CLAUSE
LICENSE_COMB=	multi
LICENSE_NAME_BSDCOMPATIBLE=	BSD-style compatible licenses
LICENSE_TEXT_BSDCOMPATIBLE=	The license: BSDCOMPATIBLE (${LICENSE_NAME_BSDCOMPATIBLE}),\
	please read from the web: http://pcc.ludd.ltu.se/licenses/
LICENSE_PERMS_BSDCOMPATIBLE=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

ONLY_FOR_ARCHS=	i386 amd64

USES=	gmake tar:tgz
GNU_CONFIGURE=	yes

DATADIR=	${PREFIX}/lib/pcc
PORTDATA=	*

.include <bsd.port.pre.mk>

post-patch:
.if ${OPSYS} == FreeBSD
	@${REINPLACE_CMD} -e '/targmach=amd64/s/x86_64/amd64/' \
		${WRKSRC}/configure
.endif

.include <bsd.port.post.mk>