aboutsummaryrefslogtreecommitdiff
path: root/mail/pm-lib/Makefile
blob: f882141099fd3c0875976fee85b7598125903ae4 (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
# ports collection makefile for:	pm-lib
# Date created:				14 November 2001
# Whom:					Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#

PORTNAME=	pm-lib
PORTVERSION=	20041216
CATEGORIES=	mail
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/2004.1216
DISTNAME=	procmail-lib-2004.1216

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A collection of procmail plug-in modules

RUN_DEPENDS=	procmail:${PORTSDIR}/mail/procmail

NO_BUILD=	yes

.if !defined(NOPORTDOCS)
PORTDOCS=	*
.endif

.include <bsd.port.pre.mk>

do-install:
	@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/lib/pm-*.rc ${DATADIR}
	@${FIND} ${DATADIR} -type f | \
		${SED} -e 's,${PREFIX}/,,' >> ${TMPPLIST}
	@${FIND} ${DATADIR} -type d | ${SORT} -r | \
		${SED} -e 's,${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/lib/ChangeLog ${DOCSDIR}
.for i in README.txt pm-lib.txt
	${INSTALL_DATA} ${WRKSRC}/doc/source/${i} ${DOCSDIR}
.endfor
	@${MKDIR} ${DOCSDIR}/html
	${CP} -R ${WRKSRC}/doc/html/ ${DOCSDIR}/html
.endif

.include <bsd.port.post.mk>