32d8f290c2
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
33 lines
861 B
Makefile
33 lines
861 B
Makefile
# $NetBSD: Makefile,v 1.9 2004/12/28 02:47:46 reed Exp $
|
|
#
|
|
|
|
DISTNAME= dynip_3.00
|
|
PKGNAME= dynipclient-3.00
|
|
PKGREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.dynip.com/software/unix/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.dynip.com/
|
|
COMMENT= Client for the dynip.com dynamic DNS service
|
|
|
|
USE_BUILDLINK3= YES
|
|
USE_PKGINSTALL= YES
|
|
|
|
RCD_SCRIPTS= dynipclient
|
|
|
|
EGDIR= ${PREFIX}/share/examples/dynipclient
|
|
CONF_FILES= ${EGDIR}/dynip.cfg ${PKG_SYSCONFDIR}/dynip.cfg
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ./Configure freebsd ${PREFIX}/bin ${PKG_SYSCONFDIR} \
|
|
${PREFIX}/man
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dynipadmin ${PREFIX}/bin/
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dynipclient ${PREFIX}/bin/
|
|
${INSTALL_DATA} ${WRKSRC}/*.1 ${PREFIX}/man/man1/
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/dynip.cfg ${EGDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|