1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/lang/gpc/Makefile
Satoshi Asami 16c3b2e93c WRKDIR of lang/gcc28 should be accessed through ${.CURDIR}/../../lang/gcc28,
not ${PORTSDIR}/lang/gcc28, since ${PORTSDIR} might be a symlink.

Submitted by:	bento
2000-11-14 13:38:38 +00:00

37 lines
837 B
Makefile

# 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/beta/
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}${.CURDIR}/../../lang/gcc28/work/gcc-2.8.1/* ${WRKSRC})
.include <bsd.port.post.mk>