aboutsummaryrefslogtreecommitdiffstats
path: root/news/husky-fidoconf-devel/Makefile
blob: 399b61cf1b6159d2d0ce69fbd192df9f7c41b46f (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
44
45
46
47
# New ports collection makefile for:    husky-fidoconf-devel
# Date created:             2005-10-26
# Whom:                 Oleg Sharoiko <os@rsu.ru>
#
# $FreeBSD$
#

PORTNAME=   fidoconf
DISTVERSION=    1.4-rc5
CATEGORIES= news mail
MASTER_SITES=   SF/husky/fidoconfig/1.4-RC5

MAINTAINER= os@rsu.ru
COMMENT=    Configuration library for Husky Fidosoft Project. Development version

LIB_DEPENDS=    smapi.2:${PORTSDIR}/news/husky-smapi-devel
RUN_DEPENDS=    ${LOCALBASE}/etc/fido/huskymak.cfg:${PORTSDIR}/news/husky-base-devel

CONFLICTS=  husky-fidoconf-[0-9]*

USE_LDCONFIG=   yes
INSTALL_TARGET= install install-man

MAN1=       dumpfcfg.1 fconf2.1 linked.1 linkedto.1 tparser.1
MLINKS=     fconf2.1 fconf2aquaed.1 \
        fconf2.1 fconf2areasbbs.1 \
        fconf2.1 fconf2binkd.1 \
        fconf2.1 fconf2dir.1 \
        fconf2.1 fconf2fidogate.1 \
        fconf2.1 fconf2golded.1 \
        fconf2.1 fconf2msged.1 \
        fconf2.1 fconf2na.pl.1 \
        fconf2.1 fconf2squish.1 \
        fconf2.1 fconf2tornado.1 \
        fconf2.1 fecfg2fconf.1
INFO=       fidoconfig

post-patch:
    @${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
        ${WRKSRC}/man/dumpfcfg.1
    @${REINPLACE_CMD} -e 's^/etc/fido/config^${PREFIX}/etc/fido/config^' \
        ${WRKSRC}/man/fconf2.1 \
        ${WRKSRC}/man/tparser.1

.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../news/husky-base-devel/Makefile.inc"
.include <bsd.port.post.mk>