aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/anubis/Makefile12
-rw-r--r--mail/anubis/distinfo2
-rw-r--r--mail/anubis/pkg-plist18
3 files changed, 23 insertions, 9 deletions
diff --git a/mail/anubis/Makefile b/mail/anubis/Makefile
index 9a9e0dd5eb39..01319f2c45f5 100644
--- a/mail/anubis/Makefile
+++ b/mail/anubis/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= anubis
-PORTVERSION= 3.4.1
+PORTVERSION= 3.4.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -25,19 +25,23 @@ CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
MAN1= anubis.1
+DOCS= AUTHORS COPYING INSTALL NEWS README THANKS TODO
post-patch:
@${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/src/headers.h
@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" ${FILESDIR}/anubis.sh > \
${WRKSRC}/anubis.sh
-.if !defined(NOPORTDOCS)
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/anubis.sh ${PREFIX}/etc/rc.d
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/TUTORIAL ${DOCSDIR}
+.for file in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/mail/anubis/distinfo b/mail/anubis/distinfo
index 4f876e7b48b5..172d34a52912 100644
--- a/mail/anubis/distinfo
+++ b/mail/anubis/distinfo
@@ -1 +1 @@
-MD5 (anubis-3.4.1.tar.gz) = 2fdd615ff731f3fb6cb8b1a95db03361
+MD5 (anubis-3.4.2.tar.gz) = e761ab843eeddaf4bbe5899312c93bf3
diff --git a/mail/anubis/pkg-plist b/mail/anubis/pkg-plist
index 846a9d1ee20e..2ccaa5c3e16c 100644
--- a/mail/anubis/pkg-plist
+++ b/mail/anubis/pkg-plist
@@ -1,8 +1,18 @@
sbin/anubis
etc/rc.d/anubis.sh
+info/anubis.info
+@exec install-info %D/info/anubis.info %D/info/dir
+@unexec install-info --delete %D/info/anubis.info %D/info/dir
+%%PORTDOCS%%share/doc/anubis/AUTHORS
+%%PORTDOCS%%share/doc/anubis/COPYING
+%%PORTDOCS%%share/doc/anubis/INSTALL
+%%PORTDOCS%%share/doc/anubis/NEWS
+%%PORTDOCS%%share/doc/anubis/README
+%%PORTDOCS%%share/doc/anubis/THANKS
+%%PORTDOCS%%share/doc/anubis/TODO
%%PORTDOCS%%share/doc/anubis/TUTORIAL
%%PORTDOCS%%@dirrm share/doc/anubis
-%%PORTDOCS%%share/examples/anubis/1anubisrc
-%%PORTDOCS%%share/examples/anubis/2anubisrc
-%%PORTDOCS%%share/examples/anubis/defaultrc
-%%PORTDOCS%%@dirrm share/examples/anubis
+share/examples/anubis/1anubisrc
+share/examples/anubis/2anubisrc
+share/examples/anubis/defaultrc
+@dirrm share/examples/anubis