summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrillig <rillig>2008-03-01 18:58:52 +0000
committerrillig <rillig>2008-03-01 18:58:52 +0000
commit324a85e90e3ec8adc5af2cff45d1cd49e0f4658f (patch)
treeed0d8e8e39693c62bc6d42e0b1cbc993c574bb78 /net
parentdef0e8130da607dee63f122bfa7f680fda475baf (diff)
downloadpkgsrc-324a85e90e3ec8adc5af2cff45d1cd49e0f4658f.tar.gz
Added VARBASE to BUILD_DEFS and make the rest a bit simpler.
Diffstat (limited to 'net')
-rw-r--r--net/openntpd/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
index d04aca9a0fc..a70ddbf53d3 100644
--- a/net/openntpd/Makefile
+++ b/net/openntpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/01/18 05:08:47 tnn Exp $
+# $NetBSD: Makefile,v 1.23 2008/03/01 18:58:52 rillig Exp $
DISTNAME= openntpd-3.9p1
PKGREVISION= 1
@@ -27,16 +27,15 @@ PKG_GROUPS= _ntp
PKG_USERS= _ntp:_ntp
PKG_HOME._ntp= ${VARBASE}/chroot/ntpd
+BUILD_DEFS+= VARBASE
+
OWN_DIRS= ${VARBASE}/chroot/ntpd
-INSTALLATION_DIRS= ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin
+AUTO_MKDIRS= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ntpd ${PREFIX}/sbin/ntpd
${INSTALL_MAN} ${WRKSRC}/ntpd.8 ${PREFIX}/${PKGMANDIR}/man8/ntpd.8
${INSTALL_MAN} ${WRKSRC}/ntpd.conf.5 ${PREFIX}/${PKGMANDIR}/man5/ntpd.conf.5
-
-post-install:
- @${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/ntpd.conf ${EGDIR}/ntpd.conf
.include "../../security/openssl/buildlink3.mk"