aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-04-08 23:42:35 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-04-08 23:42:35 +0800
commit44abb7731a20b402e61fa7c244c1ee610443b993 (patch)
treed15659e425af17ab9839dfc3a67200ee827fa62f /mail
parent653f46126b5f52189fc7374787742912665fb6cd (diff)
downloadfreebsd-ports-gnome-44abb7731a20b402e61fa7c244c1ee610443b993.tar.gz
freebsd-ports-gnome-44abb7731a20b402e61fa7c244c1ee610443b993.tar.zst
freebsd-ports-gnome-44abb7731a20b402e61fa7c244c1ee610443b993.zip
- Take maintainership
- Stage
Diffstat (limited to 'mail')
-rw-r--r--mail/ezmlm/Makefile33
-rw-r--r--mail/ezmlm/pkg-plist11
2 files changed, 27 insertions, 17 deletions
diff --git a/mail/ezmlm/Makefile b/mail/ezmlm/Makefile
index a1621fa734cc..74eac9180256 100644
--- a/mail/ezmlm/Makefile
+++ b/mail/ezmlm/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://cr.yp.to/software/ \
ftp://ftp.nl.uu.net/pub/unix/mail/qmail/ \
ftp://ftp.archive.de.uu.net/pub/unix/mail/qmail/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Easy-to-use, high-speed mailing list manager for qmail
LEGAL_TEXT= No license -- see http://cr.yp.to/softwarelaw.html
@@ -28,28 +28,27 @@ ALL_TARGET= it
PROGRAMS= ezmlm-make ezmlm-manage ezmlm-send ezmlm-reject ezmlm-return \
ezmlm-warn ezmlm-weed ezmlm-list ezmlm-sub ezmlm-unsub
-MAN1= ezmlm-list.1 ezmlm-make.1 ezmlm-manage.1 ezmlm-reject.1 \
- ezmlm-return.1 ezmlm-send.1 ezmlm-sub.1 ezmlm-unsub.1 \
- ezmlm-warn.1 ezmlm-weed.1
-MAN5= ezmlm.5
DOCS= BLURB INSTALL README THANKS TODO
-NO_STAGE= yes
+.include <bsd.port.options.mk>
+
post-patch:
- @${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin
- @${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
- @${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld
- @${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man
- @${ECHO_CMD} ${QMAIL_PREFIX} > ${WRKSRC}/conf-qmail
+ @${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
+ @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ @${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld
+ @${ECHO_CMD} "${PREFIX}/man" > ${WRKSRC}/conf-man
+ @${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail
+ @${REINPLACE_CMD} -e "s:\(/install\) \(\"\`head\):\1 ${STAGEDIR}\2:" \
+ ${WRKSRC}/Makefile
do-install:
cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
- ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 && \
- ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${PROGRAMS} ${STAGEDIR}${PREFIX}/bin && \
+ ${INSTALL_MAN} *.1 ${STAGEDIR}${MANPREFIX}/man/man1 && \
+ ${INSTALL_MAN} *.5 ${STAGEDIR}${MANPREFIX}/man/man5
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/mail/ezmlm/pkg-plist b/mail/ezmlm/pkg-plist
index 2331a5ca2ed8..aa5af37f8b33 100644
--- a/mail/ezmlm/pkg-plist
+++ b/mail/ezmlm/pkg-plist
@@ -8,6 +8,17 @@ bin/ezmlm-sub
bin/ezmlm-unsub
bin/ezmlm-warn
bin/ezmlm-weed
+man/man1/ezmlm-list.1.gz
+man/man1/ezmlm-make.1.gz
+man/man1/ezmlm-manage.1.gz
+man/man1/ezmlm-reject.1.gz
+man/man1/ezmlm-return.1.gz
+man/man1/ezmlm-send.1.gz
+man/man1/ezmlm-sub.1.gz
+man/man1/ezmlm-unsub.1.gz
+man/man1/ezmlm-warn.1.gz
+man/man1/ezmlm-weed.1.gz
+man/man5/ezmlm.5.gz
%%PORTDOCS%%%%DOCSDIR%%/BLURB
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/README