summaryrefslogtreecommitdiff
path: root/comms/qico/Makefile
blob: 3851028bb2962043cadb6b1ac3db22e02b23f818 (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
# New ports collection makefile for:	qico
# Date created:		13 Jan 2000
# Whom:			Denis Shaposhnikov <dsh@vlink.ru>
#
# $FreeBSD$
#

PORTNAME=	qico
PORTVERSION=	0.49.10.3
CATEGORIES=	comms
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}-0.49.10-p3

MAINTAINER=	dsh@vlink.ru
COMMENT=	An FidoNet Technology Network (FTN) compatible mailer for Unix systems

USE_BZIP2=	yes
GNU_CONFIGURE=	yes

.if defined(WITH_QICO_AMIGA4D)
CONFIGURE_ARGS+=	--enable-aso
.endif

.if defined(WITH_QICO_MORDA)
PLIST_SUB+=	WITH_QICO_MORDA=""
.else
CONFIGURE_ARGS+=	--disable-qcc
PLIST_SUB+=	WITH_QICO_MORDA="@comment "
.endif

do-install:
	${INSTALL_DATA} ${WRKSRC}/qico.conf.sample ${PREFIX}/etc/
	${INSTALL_PROGRAM} ${WRKSRC}/src/qico ${PREFIX}/libexec/
.if defined(WITH_QICO_MORDA)
	${INSTALL_PROGRAM} ${WRKSRC}/src/qcc ${PREFIX}/bin/
.endif

.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/qico
	${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/qico/FAQ.ru
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/qico/README.ru
.endif

.include <bsd.port.mk>