File:  [cvs.NetBSD.org] / pkgsrc / net / mldonkey / Attic / Makefile
Revision 1.91: download - view: text, annotated - select for diffs
Fri Sep 8 09:51:24 2017 UTC (7 years, 3 months ago) by jaapb
Branches: MAIN
CVS tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, HEAD
Recursive revbump associated with update of ocaml to 4.05

# $NetBSD: Makefile,v 1.91 2017/09/08 09:51:24 jaapb Exp $

PKGREVISION= 9
.include "Makefile.common"

RCD_SCRIPTS=		mldonkey

PKG_GROUPS_VARS+=	MLDONKEY_GROUP
PKG_USERS_VARS+=	MLDONKEY_USER

BUILD_DEFS+=		MLDONKEY_HOME VARBASE

INSTALLATION_DIRS=	libexec/mldonkey

OWN_DIRS_PERMS=		${MLDONKEY_HOME} ${MLDONKEY_USER} ${MLDONKEY_GROUP} 0700
OWN_DIRS_PERMS+=	${VARBASE}/log/mldonkey \
			${MLDONKEY_USER} ${MLDONKEY_GROUP} 0700
OWN_DIRS_PERMS+=	${VARBASE}/run/mldonkey \
			${MLDONKEY_USER} ${MLDONKEY_GROUP} 0700

PKG_GROUPS=		${MLDONKEY_GROUP}
PKG_USERS=		${MLDONKEY_USER}:${MLDONKEY_GROUP}

PKG_GECOS.${MLDONKEY_USER}=	Dedicated mldonkey server
PKG_HOME.${MLDONKEY_USER}=	${MLDONKEY_HOME}
PKG_SHELL.${MLDONKEY_USER}=	${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} ${WRKSRC}/mlnet ${DESTDIR}${PREFIX}/libexec/mldonkey

.include "../../lang/camlp4/buildlink3.mk"
.include "../../sysutils/file/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>