summaryrefslogtreecommitdiff
path: root/net/upclient
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 16:20:49 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 16:20:49 +0000
commitc38a63e5d4278b3cbf0ab593b165910762a1d371 (patch)
tree97af6be06b9ddcb0ed7c9f9c32a4c4f218021b96 /net/upclient
parente928cf546372a3d49dac11dbc2bddc9216e4dc5c (diff)
downloadpkgsrc-c38a63e5d4278b3cbf0ab593b165910762a1d371.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'net/upclient')
-rw-r--r--net/upclient/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/net/upclient/Makefile b/net/upclient/Makefile
index e88312826c2..df2691a242a 100644
--- a/net/upclient/Makefile
+++ b/net/upclient/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2013/04/06 15:46:38 rodent Exp $
+# $NetBSD: Makefile,v 1.30 2016/02/25 16:20:53 jperkin Exp $
#
DISTNAME= upclient-4.2.1.23
@@ -10,15 +10,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://uptimes.hostingwired.com/
COMMENT= Keeps track of your server uptime, and compares it to other hosts
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "DragonFly"
-BUILD_TARGET= dragonfly
-.elif ${OPSYS} == "SunOS"
-BUILD_TARGET= solaris
-.else
-BUILD_TARGET= bsd
-.endif
+BUILD_TARGET.DragonFly= dragonfly
+BUILD_TARGET.SunOS= solaris
+BUILD_TARGET.*= bsd
EGDIR= ${PREFIX}/share/examples/upclient
CONF_FILES= ${EGDIR}/upclient.conf ${PKG_SYSCONFDIR}/upclient.conf