aboutsummaryrefslogtreecommitdiffstats
path: root/net/delegate/Makefile
blob: 508f8528d7fb9f6ad9c8989be6f8b651711bd71d (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
# New ports collection makefile for:    DeleGate
# Version required:     5.9.3
# Date created:         26 Jan 1997
# Whom:             Masafumi NAKANE <max@FreeBSD.ORG>
#
# $FreeBSD$
#

DISTNAME=   delegate5.9.3
PKGNAME=    delegate-5.9.3
CATEGORIES= net www japanese
MASTER_SITES=   ftp://etlport.etl.go.jp/pub/DeleGate/

MAINTAINER= max@FreeBSD.ORG

MAKE_ENV=   PATH=$${PATH}:.

.if defined(BATCH)
pre-build:
    @${ECHO} "MANAGER=root@localhost" >> ${WRKSRC}/DELEGATE_CONF
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${PREFIX}/sbin
    @${MKDIR} ${PREFIX}/share/examples/delegate
    ${INSTALL_DATA} ${FILESDIR}/delegated.sh \
       ${PREFIX}/share/examples/delegate
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/delegate
    ${INSTALL_DATA} ${WRKSRC}/doc/Manual.txt \
      ${PREFIX}/share/doc/delegate
.endif
    @${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>