diff options
Diffstat (limited to 'lang/camlp5/Makefile')
-rw-r--r-- | lang/camlp5/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lang/camlp5/Makefile b/lang/camlp5/Makefile new file mode 100644 index 00000000000..f8ecdf68f99 --- /dev/null +++ b/lang/camlp5/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/12/01 12:56:04 tonio Exp $ +# + +DISTNAME= camlp5-5.01 +CATEGORIES= lang +MASTER_SITES= http://pauillac.inria.fr/~ddr/camlp5/distrib/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= tonio@NetBSD.org +HOMEPAGE= http://pauillac.inria.fr/~ddr/camlp5/ +COMMENT= Camlp5 is a preprocessor-pretty-printer of ocaml + +HAS_CONFIGURE= yes +USE_LANGUAGES= # none + +CONFIGURE_ARGS+= --bindir ${PREFIX}/bin +CONFIGURE_ARGS+= --mandir ${PREFIX}/${PKGMANDIR} +CONFIGURE_ARGS+= --libdir ${PREFIX}/lib/ocaml + +REPLACE_SH= tools/*.sh meta/*.sh ocaml_src/tools/*.sh compile/*.sh + +.include "../../mk/bsd.prefs.mk" + +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ + (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") +BUILD_TARGET= world.opt +PLIST_SRC+= ${PKGDIR}/PLIST.opt +.else +BUILD_TARGET= world +.endif +PLIST_SRC+= ${PKGDIR}/PLIST + +.include "../../lang/ocaml/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |