summaryrefslogtreecommitdiff
path: root/lang/twelf
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-03-21 22:57:34 +0000
committerwiz <wiz@pkgsrc.org>2003-03-21 22:57:34 +0000
commitc36166501ea4d1aea74cbd2f2bc83e49c5d59c60 (patch)
treede693a69a3f315578e804a53044de6516cf90b3d /lang/twelf
parent452db341150bd2edfb9a4722b568345fb6345fe7 (diff)
downloadpkgsrc-c36166501ea4d1aea74cbd2f2bc83e49c5d59c60.tar.gz
Use smlnj's Makefile.common for platform support checks.
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}