aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pm-lib/Makefile
blob: a40e68c90f7304b0dfbf2fae9ea0d06e958b68d8 (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
# 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=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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>