diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 22:24:33 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 22:24:33 +0000 |
commit | e595ea97dfce4d208fbde7edf0a860365fca5809 (patch) | |
tree | 1e5615f84713026ae761d8b8d5bf57b7a022a630 /net/openntpd/Makefile | |
parent | 90d6db33982ffaef9c59afa2f93c5970684a1906 (diff) | |
download | pkgsrc-e595ea97dfce4d208fbde7edf0a860365fca5809.tar.gz |
DESTDIR support
Diffstat (limited to 'net/openntpd/Makefile')
-rw-r--r-- | net/openntpd/Makefile | 13 |
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" |