2002-06-18 20:02:31 +00:00
|
|
|
# ports collection makefile for: pm-lib
|
|
|
|
# Date created: 14 November 2001
|
|
|
|
# Whom: Jeremy Norris <ishmael27@home.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pm-lib
|
2004-12-21 03:07:33 +00:00
|
|
|
PORTVERSION= 20041216
|
2002-06-18 20:02:31 +00:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-12-21 03:07:33 +00:00
|
|
|
DISTNAME= procmail-lib-2004.1216
|
2002-06-18 20:02:31 +00:00
|
|
|
|
2003-11-02 03:36:45 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:51:06 +00:00
|
|
|
COMMENT= A collection of procmail plug-in modules
|
2002-06-18 20:02:31 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= procmail:${PORTSDIR}/mail/procmail
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2004-12-21 03:07:33 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
2004-05-19 08:28:24 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2002-06-18 20:02:31 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-12-21 03:07:33 +00:00
|
|
|
@${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}
|
2002-06-18 20:02:31 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-12-21 03:07:33 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-05-19 08:28:24 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/ChangeLog ${DOCSDIR}
|
2004-12-21 03:07:33 +00:00
|
|
|
.for i in README.txt pm-lib.txt
|
2004-05-19 08:28:24 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/source/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
2004-12-21 03:07:33 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}/html
|
|
|
|
${CP} -R ${WRKSRC}/doc/html/ ${DOCSDIR}/html
|
2002-06-18 20:02:31 +00:00
|
|
|
.endif
|
|
|
|
|
2004-05-19 08:28:24 +00:00
|
|
|
.include <bsd.port.post.mk>
|