summaryrefslogtreecommitdiff
path: root/lang/ezm3
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-01-13 22:02:20 +0000
committerxtraeme <xtraeme>2004-01-13 22:02:20 +0000
commit38fecec6349fdd110c7060be287a2ad071376d40 (patch)
treecfdb21afc08f1d3b9ff3ea7bd5caf28fdaa19c58 /lang/ezm3
parentc4896d4a17920ddb0ea7687fffbdf179dde09678 (diff)
downloadpkgsrc-38fecec6349fdd110c7060be287a2ad071376d40.tar.gz
Move the contents of do-build target to do-install, and use NO_BUILD=yes,
so we can build it without root permissions, suggested by Julio Merino in private email.
Diffstat (limited to 'lang/ezm3')
-rw-r--r--lang/ezm3/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/lang/ezm3/Makefile b/lang/ezm3/Makefile
index e64037c9d30..bd4a6b8bdad 100644
--- a/lang/ezm3/Makefile
+++ b/lang/ezm3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/01/11 20:30:39 xtraeme Exp $
+# $NetBSD: Makefile,v 1.6 2004/01/13 22:02:20 xtraeme Exp $
DISTNAME= ezm3-1.1
CATEGORIES= lang
@@ -11,11 +11,10 @@ COMMENT= Easier, more portable Modula-3 distribution for building CVSup
DIST_SUBDIR= ezm3
USE_GMAKE= yes
-
+NO_BUILD= yes
INSTALL_TARGET= all
MAKE_ARGS+= M3OPTIONS="-DBUILD_ALL -DSHIP_ALL"
PLIST_SUBST+= TARGET=${TARGET} TARGETDIR=${TARGETDIR}
-PLIST_SUBST+= WORDSIZE=${WORDSIZE}
# XXX CFLAGS has to be empty, because if it's not, the build
# XXX process will fail.
@@ -36,8 +35,6 @@ TARGET= NetBSDi386
TARGETDIR= netbsd-1
.endif
-PROGS= bin/m3build bin/m3bundle bin/m3ship
-
do-configure:
cd ${WRKSRC}/m3config/src && \
${MV} -f ${TARGET} ${TARGET}.bak && \
@@ -45,12 +42,7 @@ do-configure:
-e "/^X11ROOT = /s|\".*\"|\"${X11BASE}/lib\"|" \
${TARGET}.bak > ${TARGET}
-do-build:
+pre-build:
${RM} -rf ${WRKSRC}/${TARGET}
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
- ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
-
-do-install:
- for i in ${PROGS}; do strip ${EZM3ROOT}/$$i; done
.include "../../mk/bsd.pkg.mk"