aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pm-lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/pm-lib/Makefile')
-rw-r--r--mail/pm-lib/Makefile31
1 files changed, 12 insertions, 19 deletions
diff --git a/mail/pm-lib/Makefile b/mail/pm-lib/Makefile
index f882141099fd..ea3cc84db278 100644
--- a/mail/pm-lib/Makefile
+++ b/mail/pm-lib/Makefile
@@ -6,39 +6,32 @@
#
PORTNAME= pm-lib
-PORTVERSION= 20041216
+PORTVERSION= 20091202
CATEGORIES= mail
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2004.1216
-DISTNAME= procmail-lib-2004.1216
+MASTER_SITES= SAVANNAH
+MASTER_SITE_SUBDIR= procmail-lib
+DISTNAME= procmail-lib-2009.1202
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= linpc@cs.nctu.edu.tw
COMMENT= A collection of procmail plug-in modules
+LICENSE= GPLv2
+
RUN_DEPENDS= procmail:${PORTSDIR}/mail/procmail
NO_BUILD= yes
-
-.if !defined(NOPORTDOCS)
PORTDOCS= *
-.endif
-
-.include <bsd.port.pre.mk>
+PORTDATA= *
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
+ ${INSTALL_DATA} ${WRKSRC}/doc/article/index.txt ${DOCSDIR}/README.txt
+ ${INSTALL_DATA} ${WRKSRC}/doc/manual/index.txt ${DOCSDIR}/manual.txt
+ ${COPYTREE_SHARE} ${WRKSRC}/doc/examples ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>