summaryrefslogtreecommitdiff
path: root/lang/caml-light/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/caml-light/Makefile')
-rw-r--r--lang/caml-light/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/caml-light/Makefile b/lang/caml-light/Makefile
index b7fad411f1f..206625ef1fc 100644
--- a/lang/caml-light/Makefile
+++ b/lang/caml-light/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2008/05/25 21:42:21 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2008/09/05 02:07:51 dholland Exp $
#
DISTNAME= cl74unix
PKGNAME= caml-light-0.74
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.inria.fr/lang/caml-light/
@@ -10,14 +11,16 @@ MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://caml.inria.fr/caml-light/index.en.html
COMMENT= Another implementation of Caml
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/cl74/src
BUILD_TARGET= world
-MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
+INSTALLATION_DIRS+= bin lib/caml-light ${PKGMANDIR}/man1
USE_TOOLS+= pax
do-configure:
- cd ${WRKSRC} && make configure
+ cd ${WRKSRC} && ${MAKE} configure
post-configure:
${ECHO} '#define HAS_STRERROR' >> ${WRKDIR}/cl74/config/s.h