summaryrefslogtreecommitdiff
path: root/comms/ifcico-cm/Makefile
blob: 98b477b1cc47f9ea0846c274fef9f7c70c7a7261 (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
# $NetBSD: Makefile,v 1.11 2002/12/25 13:39:36 jmmv Exp $
#

DISTNAME=	ifcico-3.0.cm.alpha-4.1
PKGNAME=	ifcico-cm-3.0a4.1
PKGREVISION=	1
CATEGORIES=	comms
MASTER_SITES=	http://cmeerw.org/files/

MAINTAINER=	tv@pobox.com
HOMEPAGE=	http://cmeerw.org/ifcico/
COMMENT=	FidoNet transport program using FTS protocols via dial or TCP

USE_BUILDLINK2=	# defined

PKG_SYSCONFSUBDIR=	ifcico-cm
MAKE_ENV+=		PKG_SYSCONFDIR="${PKG_SYSCONFDIR}"

post-build:
	${SED} -e 's,@PREFIX@,${PREFIX},g' ${WRKSRC}/misc/config \
		>${WRKDIR}/config
	${SED} -e 's,@PREFIX@,${PREFIX},g' ${WRKSRC}/misc/config-global \
		>${WRKDIR}/config-global

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ifcico-cm
	${INSTALL_DATA} ${WRKDIR}/config* ${PREFIX}/share/examples/ifcico-cm/
	cd ${WRKSRC}/ifcico && for f in *.8; do \
		tbl <$$f >$$f.t && ${INSTALL_DATA} $$f.t ${PREFIX}/man/man8/$$f; \
	done

.include "../../mk/bsd.pkg.mk"