aboutsummaryrefslogtreecommitdiffstats
path: root/news/husky-fidoconf/Makefile
blob: be17873cdff50d4ab99d67a9e94a2ab02a72f08f (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
# Created by: Max Khon
# $FreeBSD$

PORTNAME=   fidoconf
PORTVERSION=    0.14.4
PORTREVISION=   2
CATEGORIES= news mail
MASTER_SITES=   SF/husky/fidoconfig/0.14-release
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
MAKE_ARGS=  ADDCDEFS=-fPIC
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

NO_STAGE=   yes
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 "${.CURDIR}/../husky-base/Makefile.inc"
.include <bsd.port.mk>