summaryrefslogtreecommitdiff
path: root/misc/heirloom-time
diff options
context:
space:
mode:
authordholland <dholland>2015-01-04 09:21:40 +0000
committerdholland <dholland>2015-01-04 09:21:40 +0000
commit9ee0b71cffe949f5ca08ff1e801e60fc45746cd8 (patch)
tree32178e407775ec17fdfdabd42c732ea62eccbc9f /misc/heirloom-time
parentc97b30e48d633382ddf5de6648200b9d6d5fdcd6 (diff)
downloadpkgsrc-9ee0b71cffe949f5ca08ff1e801e60fc45746cd8.tar.gz
Instead of ONLY_FOR_PLATFORM, fix the PLIST for non-Linux.
Diffstat (limited to 'misc/heirloom-time')
-rw-r--r--misc/heirloom-time/Makefile10
-rw-r--r--misc/heirloom-time/PLIST6
2 files changed, 10 insertions, 6 deletions
diff --git a/misc/heirloom-time/Makefile b/misc/heirloom-time/Makefile
index 9c6a6ce445a..ef5e2c5400c 100644
--- a/misc/heirloom-time/Makefile
+++ b/misc/heirloom-time/Makefile
@@ -1,15 +1,19 @@
-# $NetBSD: Makefile,v 1.3 2012/05/22 17:18:21 marino Exp $
+# $NetBSD: Makefile,v 1.4 2015/01/04 09:21:40 dholland Exp $
PKGNAME= heirloom-time-${HEIRLOOM_VER}
CATEGORIES= misc time
MAKE_FLAGS+= SUBDIRS="build time"
-ONLY_FOR_PLATFORM+= Linux-*-*
-
.include "../../sysutils/heirloom-doc/Makefile.common"
DESCR_SRC+= ${.CURDIR}/DESCR
+.include "../../mk/bsd.prefs.mk"
+PLIST_VARS+= ptime
+.if ${OPSYS} == "Linux"
+PLIST.ptime= yes
+.endif
+
.include "../../devel/heirloom-libcommon/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/heirloom-time/PLIST b/misc/heirloom-time/PLIST
index f75ebef9e22..858aac54fa9 100644
--- a/misc/heirloom-time/PLIST
+++ b/misc/heirloom-time/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/28 08:33:06 cheusov Exp $
-${HLROOT}/bin/ptime
+@comment $NetBSD: PLIST,v 1.2 2015/01/04 09:21:40 dholland Exp $
+${PLIST.ptime}${HLROOT}/bin/ptime
${HLROOT}/bin/time
-${HLROOT}/man/man1/ptime.1
+${PLIST.ptime}${HLROOT}/man/man1/ptime.1
${HLROOT}/man/man1/time.1