pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/openntpd Added VARBASE to BUILD_DEFS and make the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10584d28f53e
branches:  trunk
changeset: 539207:10584d28f53e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Mar 01 18:58:52 2008 +0000

description:
Added VARBASE to BUILD_DEFS and make the rest a bit simpler.

diffstat:

 net/openntpd/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 24287092c9e0 -r 10584d28f53e net/openntpd/Makefile
--- a/net/openntpd/Makefile     Sat Mar 01 14:14:20 2008 +0000
+++ b/net/openntpd/Makefile     Sat Mar 01 18:58:52 2008 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index