summaryrefslogtreecommitdiff
path: root/mail/mush
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 15:00:50 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 15:00:50 +0000
commit7d5d0fca715ee9a7953e7864354ad0cc10706978 (patch)
treee303acd59cb37500c85db45927b7c3213588d3ca /mail/mush
parent39aae52e063ed023435320f21c58a1c16d866d1f (diff)
downloadpkgsrc-7d5d0fca715ee9a7953e7864354ad0cc10706978.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'mail/mush')
-rw-r--r--mail/mush/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/mail/mush/Makefile b/mail/mush/Makefile
index 1fbac859a19..fd7cab28316 100644
--- a/mail/mush/Makefile
+++ b/mail/mush/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2015/08/18 07:31:11 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2016/02/25 15:00:51 jperkin Exp $
DISTNAME= mush-7.2.5
PKGNAME= mush-7.2.6.b4.pl1
@@ -32,13 +32,9 @@ BUILD_TARGET= mush
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/misc
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "DragonFly"
-PLAT_MAKEFILE= makefile.netbsd
-.else
-PLAT_MAKEFILE= makefile.${LOWER_OPSYS}
-.endif
+OPSYSVARS+= PLAT_MAKEFILE
+PLAT_MAKEFILE.DragonFly= makefile.netbsd
+PLAT_MAKEFILE.*= makefile.${LOWER_OPSYS}
SUBST_CLASSES+= paths
SUBST_FILES.paths= config.h-dist ${PLAT_MAKEFILE}