# $NetBSD: Makefile,v 1.31.2.1 2006/01/27 23:31:13 salo Exp $ # .include "Makefile.common" PKGREVISION= 1 USE_PKGINSTALL= YES RCD_SCRIPTS= mldonkey BUILD_DEFS+= MLDONKEY_GROUP MLDONKEY_HOME MLDONKEY_USER OWN_DIRS_PERMS= ${MLDONKEY_HOME} ${MLDONKEY_USER} ${MLDONKEY_GROUP} 0700 PKG_GROUPS= ${MLDONKEY_GROUP} PKG_USERS= ${MLDONKEY_USER}:${MLDONKEY_GROUP}::Dedicated\ mldonkey\ server:${MLDONKEY_HOME}:${SH} FILES_SUBST+= MLDONKEY_GROUP=${MLDONKEY_GROUP:Q} FILES_SUBST+= MLDONKEY_HOME=${MLDONKEY_HOME:Q} FILES_SUBST+= MLDONKEY_USER=${MLDONKEY_USER:Q} do-install: ${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/mldonkey ${INSTALL_PROGRAM} ${WRKSRC}/mlnet ${PREFIX}/libexec/mldonkey .include "../../converters/libiconv/buildlink3.mk" .include "../../mk/bsd.pkg.mk"