Skip to content

Commit

Permalink
Added VARBASE to BUILD_DEFS and make the rest a bit simpler.
Browse files Browse the repository at this point in the history
  • Loading branch information
rillig committed Mar 1, 2008
1 parent 55397ab commit 25819f5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions net/openntpd/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 25819f5

Please sign in to comment.