summaryrefslogtreecommitdiffstats
path: root/comms/qicosi/Makefile
blob: fb972be2a3650a246752a3626246c25302d9c59d (plain)
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
48
49
# New ports collection makefile for:	qicosi
# Date created:				26 May 2004
# Whom:					Andrey Slusar <vasallia@ukr.net>
#
# $FreeBSD$
#

PORTNAME=	qicosi
PORTVERSION=	0.54.1
CATEGORIES=	comms
MASTER_SITES=	http://santinel.bas-net.by/files/
DISTNAME=	qico-${PORTVERSION}si

MAINTAINER=	anrays@gmail.com
COMMENT=	Ip/modem fido compatible mailer

USE_BZIP2=	yes
GNU_CONFIGURE=	yes

CONFDIR?=	${PREFIX}/etc/fido/qico

.if defined(WITH_OPENLOCK)
CONFIGURE_ARGS+=	--with-lock-style=open
.endif
CONFIGURE_ARGS+=	--with-config=${CONFDIR}/qico.conf \
			--with-default-speed=115200
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

DOCS=		Changes FAQ README
EXAMPLES=	fts-0001 onchat qhistory qico.xpm qlinks sfreq \
		stat.run synctime tossing

MAN8=		qcc.8 qctl.8 qico.8

post-install:
	${MKDIR} ${CONFDIR}
	${INSTALL_DATA} ${WRKSRC}/qico.conf.sample ${CONFDIR}/qico.conf.sample
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}.ru
.endfor
	${MKDIR} ${EXAMPLESDIR}
.for i in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/stuff/${i} ${EXAMPLESDIR}/${i}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud