blob: e4aa6932b751475fdf2fe60f874e3010ddb3dbcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.12 2000/02/08 12:18:15 fredb Exp $
#
DISTNAME= ntp-4.0.99d
CATEGORIES= net
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/
MAINTAINER= fb@enteract.com
HOMEPAGE= http://www.ntp.org/
GNU_CONFIGURE= YES
DOCDIR= ${PREFIX}/share/doc
EXAMPLESDIR= ${PREFIX}/share/examples
MESSAGE_FILE= ${WRKDIR}/MESSAGE
post-build:
${SED} 's|@PREFIX@|${PREFIX}|g' < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
post-install:
cd ${WRKSRC}; \
${RM} html/.cvsignore* 2> /dev/null || ${TRUE}; \
${PAX} -r -w -s "/html/ntp4/" html ${DOCDIR}; \
${PAX} -r -w -s "/conf/ntp4/" conf ${EXAMPLESDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
${CHMOD} -R ${SHAREMODE} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
${CHMOD} a+x ${DOCDIR}/ntp4 ${DOCDIR}/ntp4/hints ${DOCDIR}/ntp4/pic
${CHMOD} a+x ${EXAMPLESDIR}/ntp4
.include "../../mk/bsd.pkg.mk"
|