summaryrefslogtreecommitdiff
path: root/lang/twelf
diff options
context:
space:
mode:
Diffstat (limited to 'lang/twelf')
-rw-r--r--lang/twelf/Makefile24
1 files changed, 2 insertions, 22 deletions
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}