aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipsvd/Makefile
blob: 26e93933570e037a90c5b3428a3dee293627db1a (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
43
# New ports collection makefile for:    ipsvd
# Date created:     01 Apr 2002
# Whom:         Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#

PORTNAME=   ipsvd
PORTVERSION=    0.14.0
CATEGORIES= net
MASTER_SITES=   http://smarden.org/ipsvd/

MAINTAINER= miwi@FreeBSD.org
COMMENT=    Internet protocol service daemons

WRKSRC=     ${WRKDIR}/net/${DISTNAME}
ALL_TARGET= default

MAN5=       ipsvd-instruct.5
MAN7=       ipsvd.7
MAN8=       ipsvd-cdb.8 sslio.8 sslsvd.8 tcpsvd.8 udpsvd.8
DOCS=       package/CHANGES package/COPYING package/README doc/*.html

do-configure:
    @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
    @${ECHO_CMD} "${LOCALBASE}/include/libdjbdns" \
        > ${WRKSRC}/src/conf-djbdnsinc
    @${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/src/conf-djbdnslib

do-build:
    cd ${WRKSRC} && package/compile && package/check

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/sbin
.for n in 5 7 8
    ${INSTALL_MAN} ${WRKSRC}/man/*.${n} ${MANPREFIX}/man/man${n}
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>