summaryrefslogtreecommitdiff
path: root/comms/fidogate/Makefile
blob: 5ab280a16f76022040d2d8ee6b0b765df5bf3005 (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
# $NetBSD: Makefile,v 1.8 2000/08/14 13:55:04 wiz Exp $
#

DISTNAME=	fidogate-4.2.9
CATEGORIES=	comms
MASTER_SITES=	ftp://ftp.fido.de/pub/fidogate/

MAINTAINER=	tv@netbsd.org	# aka "Todd Vierling" @ 1:396/1.5
HOMEPAGE=	http://www.fido.de/fidogate/

USE_GMAKE=	yes
USE_PERL5=	yes
USE_LIBTOOL=	yes
WRKSRC=		${WRKDIR}/fidogate

INFO_FILES=	fidogate.info

pre-install:
	${INSTALL_DATA_DIR} -m 0755 ${PREFIX}/lib/fidogate

post-install:
	${INSTALL_DATA_DIR} \
		${PREFIX}/share/fidogate \
		${PREFIX}/share/fidogate/inn \
		${PREFIX}/share/fidogate/nodelist \
		${PREFIX}/share/fidogate/scripts \
		${PREFIX}/share/fidogate/sendmail
	cd ${WRKSRC}/scripts/inn && \
		${INSTALL_DATA} send-ffx send-fidogate viaffx ${PREFIX}/share/fidogate/inn/
	cd ${WRKSRC}/scripts/nodelist && \
		${INSTALL_DATA} latest nl-2hosts nl-2routing nl-autoupd \
				nl-check nl-del nl-diff nl-html nl-isdn \
				nl-print template.html ${PREFIX}/share/fidogate/nodelist/
	cd ${WRKSRC}/scripts/outbound && \
		${INSTALL_DATA} out-freq out-ls out-manip out-rm0 out-rmbsy ${PREFIX}/share/fidogate/scripts/
	cd ${WRKSRC}/scripts/run && \
		${INSTALL_DATA} run1 run2 runffx runpoll ${PREFIX}/share/fidogate/scripts/
	cd ${WRKSRC}/sendmail/mailer && \
		${INSTALL_DATA} ffx.m4 ftn.m4 ${PREFIX}/share/fidogate/sendmail/
	${INSTALL_DATA} ${WRKSRC}/scripts/maintenance/rc.fidogate ${PREFIX}/etc/rc.d/fidogate.sh

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