aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gpc/Makefile
blob: 7bed65aae4788cb82b707dabecb349e9177bc40c (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
# Ports collection makefile for:    gpc
# Date created:             January 27, 1999
# Whom:                 Berend de Boer <berend@pobox.com>
#
# $FreeBSD$

PORTNAME=   gpc
PORTVERSION=    2.0
CATEGORIES= lang
MASTER_SITES=   ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/current/
DISTNAME=   gpc-19990118

MAINTAINER= antonz@library.ntu-kpi.kiev.ua

BUILD_DEPENDS=  nonexistent:${PORTSDIR}/lang/gcc28:patch

WRKSRC=     ${WRKDIR}/gpc
MAKE_ARGS=  LANGUAGES=pascal
USE_AUTOCONF=   yes
USE_GMAKE=  yes
ALL_TARGET= bootstrap
INSTALL_TARGET= pascal.install

MAN1=       gpc.1

.include <bsd.port.pre.mk>

GNUHOST=    ${ARCH}--freebsd${OSREL}

PLIST_SUB=  GNUHOST=${GNUHOST}
CONFIGURE_ARGS= --with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${GNUHOST}/2.8.1/include/g++

post-extract:
    @(${CP} -R ${WRKDIRPREFIX}${PORTSDIR}/lang/gcc28/work/gcc-2.8.1/* ${WRKSRC})

.include <bsd.port.post.mk>