aboutsummaryrefslogtreecommitdiffstats
path: root/net/delegate/Makefile
blob: b4124b22074168980e3a84e8639c07b1e3469f11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    DeleGate
# Date created:         26 Jan 1997
# Whom:             Masafumi NAKANE <max@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   delegate
PORTVERSION=    9.9.3
#PORTREVISION=  1
CATEGORIES= net www
MASTER_SITES=   http://www.chifeng.name/dist/delegate/
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= chifeng@gmail.com
COMMENT=    General purpose TCP/IP proxy system

IS_INTERACTIVE= YES
PORTDOCS=   HowToDG.html Manual.htm tutor-jp.htm tutor-en.htm COPYRIGHT
PLIST_FILES=    sbin/delegated etc/rc.d/delegated.sh-dist
SUB_FILES=  pkg-message
SUB_LIST=   DOCSDIR=${DOCSDIR}

# Strip breaks binary checksumming
STRIP=

post-extract:
    @cd ${WRKSRC} && ${MV} COPYRIGHT doc/

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${PREFIX}/sbin
    ${INSTALL_SCRIPT} ${FILESDIR}/delegated.sh \
       ${PREFIX}/etc/rc.d/delegated.sh-dist
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/doc/$f ${DOCSDIR}
.endfor
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>