summaryrefslogtreecommitdiff
path: root/net/openntpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openntpd/Makefile')
-rw-r--r--net/openntpd/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
index 59189b5db3a..90bf09cff49 100644
--- a/net/openntpd/Makefile
+++ b/net/openntpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2010/01/17 12:02:34 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2010/02/11 22:30:40 joerg Exp $
DISTNAME= openntpd-3.9p1
PKGREVISION= 2
@@ -13,6 +13,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openntpd.org/
COMMENT= Free implementation of the Network Time Protocol
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
CONFLICTS+= ntp-[0-9]*
@@ -33,11 +34,13 @@ BUILD_DEFS+= VARBASE
OWN_DIRS= ${VARBASE}/chroot/ntpd
AUTO_MKDIRS= yes
+INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 ${EGDIR}
+
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
- ${INSTALL_DATA} ${WRKSRC}/ntpd.conf ${EGDIR}/ntpd.conf
+ ${INSTALL_PROGRAM} ${WRKSRC}/ntpd ${DESTDIR}${PREFIX}/sbin/ntpd
+ ${INSTALL_MAN} ${WRKSRC}/ntpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ntpd.8
+ ${INSTALL_MAN} ${WRKSRC}/ntpd.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/ntpd.conf.5
+ ${INSTALL_DATA} ${WRKSRC}/ntpd.conf ${DESTDIR}${EGDIR}/ntpd.conf
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"