Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / delegate / Makefile
blobd03384e809c129d8eb095d2eee0bd4c3fb380d43
1 # $NetBSD: Makefile,v 1.43 2012/10/23 17:18:16 asau Exp $
3 DISTNAME= delegate9.9.1
4 PKGNAME= delegate-9.9.1
5 PKGREVISION= 1
6 CATEGORIES= net
7 MASTER_SITES= http://www.delegate.org/anonftp/DeleGate/ \
8 ftp://ftp.u-aizu.ac.jp/pub/net/DeleGate/delegate.org/
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://www.delegate.org/delegate/
12 COMMENT= General purpose TCP/IP proxy system
14 MAKE_JOBS_SAFE= no
16 .include "../../mk/bsd.prefs.mk"
18 BUILD_DEFS+= DELEGATE_MANAGER
19 BUILD_DEFS+= VARBASE
20 DELEGATE_MANAGER?= root@localhost
22 RCD_SCRIPTS= delegated
23 FILES_SUBST+= ADMIN=${DELEGATE_MANAGER:Q}
25 OWN_DIRS_PERMS+=${VARBASE}/spool/delegate/cache ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 1777
26 OWN_DIRS_PERMS+=${VARBASE}/spool/delegate-nobody nobody nobody 755
28 INSTALLATION_DIRS= sbin share/doc/delegate
30 MAKE_ENV+= SHELL=${CONFIG_SHELL}
32 pre-build:
33 @${ECHO} "ADMIN=${DELEGATE_MANAGER}" >> ${WRKSRC}/DELEGATE_CONF
35 do-install:
36 ${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${DESTDIR}${PREFIX}/sbin
37 ${INSTALL_DATA} ${WRKSRC}/doc/Manual.htm \
38 ${DESTDIR}${PREFIX}/share/doc/delegate/manual.html
39 ${INSTALL_DATA} ${WRKSRC}/doc/tutor-en.htm \
40 ${DESTDIR}${PREFIX}/share/doc/delegate/tutorial-en.html
41 ${INSTALL_DATA} ${WRKSRC}/doc/tutor-jp.htm \
42 ${DESTDIR}${PREFIX}/share/doc/delegate/tutorial-jp.html
44 .include "../../mk/bsd.pkg.mk"