aboutsummaryrefslogtreecommitdiffstats
path: root/news/husky-fidoconf/Makefile
blob: a1f054e27840e2337f2ee56b3c41150417b49606 (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:    husky-fidoconf
# Date created:                         6 January 2003
# Whom:                                 Max Khon
#
# $FreeBSD$
#

PORTNAME=   fidoconf
PORTVERSION=    0.14.4
PORTREVISION=   1
CATEGORIES= news mail
DISTNAME=   ${PORTNAME}_${PORTVERSION}-src

MAINTAINER= fjoe@FreeBSD.org
COMMENT=    Configuration library for Husky Fidosoft Project

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

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

USE_LDCONFIG=   yes
INSTALL_TARGET= install install-man

MAN1=       dumpfcfg.1 fconf2.1 linkedto.1 tparser.1
MLINKS=     fconf2.1 fconf2aquaed.1 \
        fconf2.1 fconf2areasbbs.1 \
        fconf2.1 fconf2fidogate.1 \
        fconf2.1 fconf2golded.1 \
        fconf2.1 fconf2msged.1 \
        fconf2.1 fconf2squish.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 "${PORTSDIR}/news/husky-base/Makefile.inc"
.include <bsd.port.post.mk>