summaryrefslogtreecommitdiff
path: root/news/ifmail/Makefile
blob: 3ee7f9c04cb840912be6209156903bbfd39686bc (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:    ifmail
# Version required:     2.12
# Date created:         19 Feb 1997
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $Id: Makefile,v 1.2 1997/12/06 15:18:27 jseger Exp $
#

DISTNAME=       ifmail-2.12
CATEGORIES=	news
MASTER_SITES=	${MASTER_SITE_SUNSITE} \
		ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/ \
		ftp://ftp.demos.su/unix/linux/source/fido/ \
		ftp://ftp.average.org/ifmail/ \
		ftp://ftp.dinoex.sub.de/pub/approved/
MASTER_SITE_SUBDIR=	fido/mail/

MAINTAINER=     dirk.meyer@dinoex.sub.org

BROKEN=		package
MAN3=		parsedate.3
MAN8=		ifmail.8 iftoss.8

pre-install:
	@PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL
	${MKDIR} ${PREFIX}/libexec/ifmail

post-install:
.for i in ${MAN8}
	${INSTALL_MAN} ${WRKSRC}/ifgate/${i} ${PREFIX}/man/man8
.endfor
.for i in ${MAN3}
	${INSTALL_MAN} ${WRKSRC}/iflib/${i} ${PREFIX}/man/man3
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/ifmail
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ifmail
.for i in ifcico ifgate iflib
	${INSTALL_DATA} ${WRKSRC}/${i}/README ${PREFIX}/share/doc/ifmail/README.${i}
.endfor
.endif
	${MKDIR} ${PREFIX}/share/examples/ifmail
	@cd ${WRKSRC}/misc; tar cf - . | (cd ${PREFIX}/share/examples/ifmail; tar xf -)

.include <bsd.port.mk>