summaryrefslogtreecommitdiff
path: root/www/mhonarc/Makefile
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2001-11-28 09:51:43 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2001-11-28 09:51:43 +0000
commit816382f62b588d739e428747a460ae4cad51b682 (patch)
tree4c982b3a4e6b74b852d4b4d06b4cb5d90e5332bb /www/mhonarc/Makefile
parentupdate to 011128. (diff)
Update to v2.5.2. Let port respect NOPORTDOCS. Update WWW URL.
Submitted by: Masafumi NAKANE <max@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=50684
Diffstat (limited to 'www/mhonarc/Makefile')
-rw-r--r--www/mhonarc/Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/www/mhonarc/Makefile b/www/mhonarc/Makefile
index 2224fdb377ff..65c195c6249b 100644
--- a/www/mhonarc/Makefile
+++ b/www/mhonarc/Makefile
@@ -6,15 +6,16 @@
#
PORTNAME= mhonarc
-PORTVERSION= 2.4.9
+PORTVERSION= 2.5.2
CATEGORIES= www mail
-MASTER_SITES= http://www.oac.uci.edu/indiv/ehood/tar/ \
+MASTER_SITES= http://www.mhonarc.org/tar/ \
+ http://www.oac.uci.edu/indiv/ehood/tar/ \
http://mirror.ncsa.uiuc.edu/mhonarc.org/\
ftp://hhobel.phl.univie.ac.at/MHonArc/ \
ftp://ftp.redhat.com/pub/contrib/noarch/noarch/ \
ftp://ftp.plig.org/pub/CPAN/authors/id/EHOOD/ \
http://www.perl.com/CPAN-local/authors/id/EHOOD/
-DISTNAME= MHonArc2.4.9
+DISTNAME= MHonArc${PORTVERSION}
MAINTAINER= jkoshy@freebsd.org
@@ -24,12 +25,19 @@ NO_BUILD= Yes
MAN1= mhonarc.1 mha-dbedit.1 mha-dbrecover.1 mha-decode.1
+INSTALL_ARGS= -binpath ${PREFIX}/bin \
+ -libpath ${PREFIX}/share/MHonArc \
+ -manpath ${PREFIX}/man \
+ -batch
+.if !defined(NOPORTDOCS)
+INSTALL_ARGS+= -docpath ${PREFIX}/share/doc/MHonArc
+.else
+INSTALL_ARGS+= -nodoc
+.endif
+
.include <bsd.port.pre.mk>
do-install:
- cd ${WRKSRC} && ${PERL5} install.me -binpath ${PREFIX}/bin \
- -docpath ${PREFIX}/share/doc/MHonArc \
- -libpath ${PREFIX}/share/MHonArc \
- -manpath ${PREFIX}/man -batch
+ cd ${WRKSRC} && ${PERL5} install.me ${INSTALL_ARGS}
.include <bsd.port.post.mk>