pkgsrc/net/ntp4/Makefile
grant afdebcf9a4 make ${PAX} usage consistent:
- group 'zrw' and 'p' args, -s last
- use the && operator consistently
- strip unneeded parens
- some whitespace cleanup
2003-04-10 01:28:03 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2003/04/10 01:28:22 grant Exp $
#
DISTNAME= ntp-4.1.1a
CATEGORIES= net
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
MAINTAINER= fredb@netbsd.org
HOMEPAGE= http://www.ntp.org/
COMMENT= Network Time Protocol Version 4
GNU_CONFIGURE= YES
CONFIGURE_ENV+= PATH_PERL="${PERL5}"
CONFIGURE_ENV+= ac_cv_lib_readline_readline=no
DOCDIR= ${PREFIX}/share/doc/html
EXAMPLESDIR= ${PREFIX}/share/examples
pre-configure:
cd ${WRKSRC} && \
${TOUCH} stamp-h.in COPYRIGHT \
`${FIND} . -name aclocal.m4 -print` \
`${FIND} . -name configure -print` \
`${FIND} . -name Makefile.in -print`
post-install:
cd ${WRKSRC} && \
${RM} conf/.cvsignore* 2> /dev/null || ${TRUE}; \
${RM} html/.cvsignore* 2> /dev/null || ${TRUE}; \
${PAX} -rw -s "/html/ntp4/" html ${DOCDIR}; \
${PAX} -rw -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"