diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /net/ntp4 | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'net/ntp4')
-rw-r--r-- | net/ntp4/Makefile | 13 | ||||
-rw-r--r-- | net/ntp4/PLIST | 8 |
2 files changed, 8 insertions, 13 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile index 59916541a3a..c52c084bb22 100644 --- a/net/ntp4/Makefile +++ b/net/ntp4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.53 2008/01/24 11:55:42 is Exp $ +# $NetBSD: Makefile,v 1.54 2008/04/12 22:43:08 jlam Exp $ # DISTNAME= ntp-4.2.0 @@ -37,8 +37,7 @@ post-install: .include "../../mk/bsd.prefs.mk" -TIMETRIM= "" -NO_TIMETRIM= "@comment " +PLIST_VARS+= ntptime timetrim .if ${OPSYS} == "NetBSD" # @@ -55,15 +54,11 @@ LOWER_OPSYS_VERSUFFIX= 2 # Don't pick up libwww's -lmd5, until buildlink can be fixed. # CONFIGURE_ENV+= ac_cv_lib_md5_MD5Init=no +PLIST.ntptime= yes .elif ${OPSYS} == "IRIX" -TIMETRIM= "@comment " -NO_TIMETRIM= "" -.elif ${OPSYS} == "SunOS" && ${LOWER_OPSYS} == "solaris" -TIMETRIM= "@comment " +PLIST.timetrim= yes .endif -PLIST_SUBST+= TIMETRIM=${TIMETRIM} NO_TIMETRIM=${NO_TIMETRIM} - .include "../../security/openssl/buildlink3.mk" CONFIGURE_ARGS+= --with-openssl-incdir=${SSLBASE}/include diff --git a/net/ntp4/PLIST b/net/ntp4/PLIST index c10b977cb50..e8ab2f9474a 100644 --- a/net/ntp4/PLIST +++ b/net/ntp4/PLIST @@ -1,14 +1,14 @@ -@comment $NetBSD: PLIST,v 1.8 2006/07/12 17:41:54 rillig Exp $ +@comment $NetBSD: PLIST,v 1.9 2008/04/12 22:43:08 jlam Exp $ bin/ntp-keygen bin/ntp-wait bin/ntpd bin/ntpdate bin/ntpdc bin/ntpq -${TIMETRIM}bin/ntptime +${PLIST.ntptime}bin/ntptime bin/ntptrace -${TIMETRIM}bin/tickadj -${NO_TIMETRIM}bin/timetrim +${PLIST.ntptime}bin/tickadj +${PLIST.timetrim}bin/timetrim share/doc/ntp4/accopt.html share/doc/ntp4/assoc.html share/doc/ntp4/audio.html |