From c36166501ea4d1aea74cbd2f2bc83e49c5d59c60 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 21 Mar 2003 22:57:34 +0000 Subject: Use smlnj's Makefile.common for platform support checks. --- lang/twelf/Makefile | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) (limited to 'lang/twelf') diff --git a/lang/twelf/Makefile b/lang/twelf/Makefile index a0c05542a0b..eb48c04890a 100644 --- a/lang/twelf/Makefile +++ b/lang/twelf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/03/21 22:23:01 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2003/03/21 22:57:34 wiz Exp $ # DISTNAME= twelf-1-4 @@ -28,27 +28,7 @@ TWELF_EMACSDIR= ${EMACS_LISPPREFIX}/twelf TWELF_DOCDIR= ${PREFIX}/share/doc/twelf TWELF_EXAMPLEDIR= ${PREFIX}/share/examples/twelf -# -# Everything up until "post-extract" is taken from lang/smlnj/Makefile. -# There ought to be a buildlink2.mk for SML/NJ instead, since every -# SML/NJ-built package will require this kind of PLIST handling. -# - -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "SunOS" -OS= ${LOWER_OPSYS} -.elif ${OPSYS} == "NetBSD" -OS= bsd -.endif - -.if ${MACHINE_ARCH} == "sparc" -BOX= sparc -.elif ${MACHINE_ARCH} == "i386" -BOX= x86 -.endif - -PLIST_SUBST+= BOX=${BOX} OS=${OS} +.include "../../lang/smlnj/Makefile.common" post-extract: ${CHMOD} -R +r ${WRKSRC} -- cgit v1.2.3