pkgsrc/net/dhid/Makefile
jlam d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00

27 lines
833 B
Makefile

# $NetBSD: Makefile,v 1.9 2003/01/28 22:03:50 jlam Exp $
#
DISTNAME= dhid-4.0.1
CATEGORIES= net
MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/
MAINTAINER= hubertf
HOMEPAGE= http://www.dhis.org/
COMMENT= Dynamic Host Information System client daemon
DEPENDS+= gmp-[0-9]*:../../devel/gmp
USE_PKGINSTALL= yes
RCD_SCRIPTS= dhid
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/genkeys ${PREFIX}/sbin/dhid-genkeys
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dhid
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/dhid
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/dhid
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/dhid
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${PREFIX}/share/doc/dhid
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dhid
.include "../../mk/bsd.pkg.mk"