30b55df38e
MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.45 2017/01/19 18:52:19 agc Exp $
|
|
|
|
DISTNAME= delegate9.9.1
|
|
PKGNAME= delegate-9.9.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.delegate.org/anonftp/DeleGate/
|
|
MASTER_SITES+= ftp://ftp.u-aizu.ac.jp/pub/net/DeleGate/delegate.org/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.delegate.org/delegate/
|
|
COMMENT= General purpose TCP/IP proxy system
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DEFS+= DELEGATE_MANAGER
|
|
BUILD_DEFS+= VARBASE
|
|
DELEGATE_MANAGER?= root@localhost
|
|
|
|
RCD_SCRIPTS= delegated
|
|
FILES_SUBST+= ADMIN=${DELEGATE_MANAGER:Q}
|
|
|
|
OWN_DIRS_PERMS+=${VARBASE}/spool/delegate/cache ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 1777
|
|
OWN_DIRS_PERMS+=${VARBASE}/spool/delegate-nobody nobody nobody 755
|
|
|
|
INSTALLATION_DIRS= sbin share/doc/delegate
|
|
|
|
MAKE_ENV+= SHELL=${CONFIG_SHELL}
|
|
|
|
pre-build:
|
|
@${ECHO} "ADMIN=${DELEGATE_MANAGER}" >> ${WRKSRC}/DELEGATE_CONF
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${DESTDIR}${PREFIX}/sbin
|
|
${INSTALL_DATA} ${WRKSRC}/doc/Manual.htm \
|
|
${DESTDIR}${PREFIX}/share/doc/delegate/manual.html
|
|
${INSTALL_DATA} ${WRKSRC}/doc/tutor-en.htm \
|
|
${DESTDIR}${PREFIX}/share/doc/delegate/tutorial-en.html
|
|
${INSTALL_DATA} ${WRKSRC}/doc/tutor-jp.htm \
|
|
${DESTDIR}${PREFIX}/share/doc/delegate/tutorial-jp.html
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|