aboutsummaryrefslogtreecommitdiff
path: root/lang/gnat
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-04-24 11:29:30 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-04-24 11:29:30 +0000
commitb098c2ddf2892a3342c0b15bd420fc3c61ab791d (patch)
tree0d71ecc9df971843a1bbd9ff39aae1d5531efa25 /lang/gnat
parentb901ee38c863f18667592741fec5af8333447d5b (diff)
downloadports-b098c2ddf2892a3342c0b15bd420fc3c61ab791d.tar.gz
ports-b098c2ddf2892a3342c0b15bd420fc3c61ab791d.zip
Notes
Diffstat (limited to 'lang/gnat')
-rw-r--r--lang/gnat/Makefile27
1 files changed, 5 insertions, 22 deletions
diff --git a/lang/gnat/Makefile b/lang/gnat/Makefile
index ce51963c83d2..329fa109e1ab 100644
--- a/lang/gnat/Makefile
+++ b/lang/gnat/Makefile
@@ -5,7 +5,7 @@
# Date created: Sat Mar 18 02:16:45 1995
# Porter: nils@guru.ims.uni-stuttgart.de
#
-# $Id$
+# $Id: Makefile,v 1.3 1995/04/15 05:44:36 asami Exp $
DISTNAME= gnat-2.03-src
PKGNAME= gnat-2.03
@@ -29,45 +29,28 @@ USE_GMAKE= true
# as /usr/libexec/gnat1, the rest in /usr/local/{bin,adainclude,adalib}.
PREFIX = /usr
-WRKDIR = ${.CURDIR}/work
-CONFIGURE_COOKIE= ${WRKDIR}/.configure_done
-PREBUILD_COOKIE = ${WRKDIR}/.prebuild_done
-BUILD_COOKIE = ${WRKDIR}/.build_done
-INSTALL_COOKIE = ${WRKDIR}/.install_done
-
-pre-build: ${PREBUILD_COOKIE}
-${PREBUILD_COOKIE}:
+pre-build:
@echo "===> Building patched gcc library for ${DISTNAME}"
cd ${WRKSRC}/gcc && \
${MAKE} CC="${CC} -I. -I${COMPILERSOURCE}/include" \
COMPILERSOURCE="${COMPILERSOURCE}"
- @${TOUCH} ${TOUCHFLAGS} ${PREBUILD_COOKIE}
-build: configure pre-build ${BUILD_COOKIE}
-${BUILD_COOKIE}:
- @echo "===> Building for ${DISTNAME}"
+do-build:
cd ${WRKSRC}/ada; \
${GMAKE} CC="${CC}" COMPILERSOURCE="${COMPILERSOURCE}"
- @${TOUCH} ${TOUCH_FLAGS} ${BUILD_COOKIE}
-configure: extract patch ${CONFIGURE_COOKIE}
-${CONFIGURE_COOKIE}:
- @echo "===> Configuring for ${DISTNAME}"
+do-configure:
@env CURDIR=${.CURDIR} DISTDIR=${DISTDIR} WRKDIR=${WRKDIR} \
WRKSRC=${WRKSRC} PATCHDIR=${PATCHDIR} SCRIPTDIR=${SCRIPTDIR} \
FILESDIR=${FILESDIR} PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} \
DEPENDS="${DEPENDS}" \
COMPILERSOURCE="${COMPILERSOURCE}" CCVERSION="${CCVERSION}" \
${SHELL} ${SCRIPTDIR}/configure;
- @${TOUCH} ${TOUCH_FLAGS} ${CONFIGURE_COOKIE}
-install: build ${INSTALL_COOKIE}
-${INSTALL_COOKIE}:
- @echo "===> Installing for ${DISTNAME}"
+do-install:
@${MAKE} ${.MAKEFLAGS} pre-install
@(cd ${WRKSRC}/ada; \
${MAKE} PREFIX_DIR=${PREFIX} ${MAKE_FLAGS} ${MAKEFILE} \
${INSTALL_TARGET})
- @${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE}
.include <bsd.port.mk>