summaryrefslogtreecommitdiff
path: root/lang/fpc-source/Makefile
blob: 2db5142876fa3dd497023ae5c341d53e5c88e62b (plain)
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
PORTNAME=	fpc
PORTVERSION=	3.2.2
PORTREVISION=	2
DISTVERSIONSUFFIX=.source
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/ \
		ftp://planetmirror.com/pub/fpc/dist/${PORTVERSION}/source/ \
		ftp://ftp.jp.freepascal.org/mirror/fpc/dist/${PORTVERSION}/source/ \
		ftp://freepascal.stack.nl/pub/fpc/dist/${PORTVERSION}/source/ \
		ftp://ftp.no.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/ \
		ftp://ftp.us.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/ \
		SF/freepascal/Source/${PORTVERSION}
PKGNAMESUFFIX=	-source
DIST_SUBDIR=	freepascal

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Free Pascal compiler with Turbo and Delphi compatibility (source)
WWW=		https://www.freepascal.org/

ONLY_FOR_ARCHS=	amd64 i386
NO_BUILD=	yes

PORTDATA=	*

PATCHDIR=	${PORTSDIR}/lang/fpc/files
DATADIR=	${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}

do-install:
	(cd ${WRKSRC} && ${COPYTREE_SHARE} . \
		${STAGEDIR}${DATADIR})

.include <bsd.port.mk>