a9f08159c4
curses.buildlink2.mk. This was wrong because we _really_ do want to express that we want _n_curses when we include the buildlink2.mk file. We should have a better way to say that the NetBSD curses doesn't quite work well enough. In fact, it's far better to depend on ncurses by default, and exceptionally note when it's okay to use NetBSD curses for specific packages. We will look into this again in the future.
37 lines
945 B
Makefile
37 lines
945 B
Makefile
# $NetBSD: Makefile,v 1.10 2003/09/28 09:13:58 jlam Exp $
|
|
|
|
DISTNAME= chrony-1.17
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://chrony.sunsite.dk/projects/chrony/
|
|
|
|
MAINTAINER= hannken@NetBSD.org
|
|
HOMEPAGE= http://chrony.sunsite.dk/index.php
|
|
COMMENT= Daemon for maintaining the accuracy of computer clocks
|
|
|
|
USE_BUILDLINK2= YES
|
|
USE_PKGINSTALL= YES
|
|
HAS_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
EGDIR= ${LOCALBASE}/share/examples/chrony
|
|
EGFILES= chrony.conf.example chrony.keys.example
|
|
RCD_SCRIPTS= chronyd
|
|
|
|
pre-install:
|
|
for file in ${EGFILES}; do \
|
|
${SED} ${FILES_SUBST_SED} \
|
|
${WRKSRC}/examples/$${file} > \
|
|
${WRKDIR}/$${file}; \
|
|
done
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
for file in ${EGFILES}; do \
|
|
${INSTALL_DATA} ${WRKDIR}/$${file} \
|
|
${EGDIR}/$${file}; \
|
|
done
|
|
|
|
.include "../../devel/readline/buildlink2.mk"
|
|
.include "../../devel/ncurses/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|