Simplify Makefile and install the sample* files.

This commit is contained in:
Juan Romero Pardines 2003-06-11 01:24:35 +00:00
parent 54985a6c78
commit 8ee24a3743
2 changed files with 9 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2003/06/11 01:16:41 xtraeme Exp $
# $NetBSD: Makefile,v 1.6 2003/06/11 01:24:35 xtraeme Exp $
#
DISTNAME= ezbounce-1.04a
@ -25,13 +25,12 @@ CONF_FILES= ${EGDIR}/ezbounce.conf.default ${PKG_SYSCONFDIR}/ezbounce.conf
do-install:
${INSTALL_DATA_DIR} ${EGDIR} ${DOCDIR}
${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${WRKSRC}/mdidentd/mdidentd \
${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/ezbchk ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/sample.conf ${EGDIR}/ezbounce.conf.default
${INSTALL_DATA} ${WRKSRC}/ezb.conf ${PKG_SYSCONFDIR}/ezbounce.conf
${INSTALL_PROGRAM} ${WRKSRC}/mdidentd/mdidentd ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/ezb.conf ${EGDIR}/ezbounce.conf.default
${INSTALL_DATA} ${WRKSRC}/misc/ezbounce.1 ${PREFIX}/man/man1
( cd ${WRKSRC} && for f in README* TODO CHANGES; do \
( cd ${WRKSRC} && for f in README* TODO CHANGES sample.conf sample.MOTD; do \
${INSTALL_DATA} $$f ${DOCDIR}; \
done )

View file

@ -1,4 +1,5 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/20 06:27:44 xtraeme Exp $
@comment $NetBSD: PLIST,v 1.2 2003/06/11 01:24:36 xtraeme Exp $
etc/rc.d/ezbounce
man/man1/ezbounce.1
sbin/ezbchk
sbin/ezbounce
@ -7,6 +8,8 @@ share/doc/ezbounce/CHANGES
share/doc/ezbounce/README
share/doc/ezbounce/README.SSL
share/doc/ezbounce/TODO
share/doc/ezbounce/sample.MOTD
share/doc/ezbounce/sample.conf
share/examples/ezbounce/ezbounce.conf.default
@dirrm share/examples/ezbounce
@dirrm share/doc/ezbounce