summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/w3mir/Makefile17
-rw-r--r--www/w3mir/pkg-plist2
2 files changed, 8 insertions, 11 deletions
diff --git a/www/w3mir/Makefile b/www/w3mir/Makefile
index 3de0ee563f1f..4a6d6e2537dc 100644
--- a/www/w3mir/Makefile
+++ b/www/w3mir/Makefile
@@ -3,33 +3,28 @@
PORTNAME= w3mir
PORTVERSION= 1.0.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= http://langfeldt.net/w3mir/
MAINTAINER= ports@FreeBSD.org
COMMENT= All-purpose HTTP copying and mirroring tool
+LICENSE= ART10
+
BUILD_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
-
-MAN1= w3mir.1 w3mfix.1
+USE_PERL5= configure
INSTALL_TARGET= pure_install
-NO_STAGE= yes
-do-configure:
- @ cd ${WRKSRC}; \
- ${SETENV} ${MAKE_ENV} ${PERL} Makefile.PL PREFIX=${PREFIX} \
- INSTALLMAN1DIR=${PREFIX}/man/man1 \
- INSTALLSCRIPT=${PREFIX}/bin
post-install:
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
- ${PREFIX}/share/doc/w3mir
+ ${STAGEDIR}${PREFIX}/share/doc/w3mir
cd ${WRKSRC} && ${INSTALL_DATA} \
README Artistic w3mir-HOWTO.html example.cfg \
- multiscope.cfg ${PREFIX}/share/doc/w3mir
+ multiscope.cfg ${STAGEDIR}${PREFIX}/share/doc/w3mir
.include <bsd.port.mk>
diff --git a/www/w3mir/pkg-plist b/www/w3mir/pkg-plist
index 9d0ba142ddab..20f5cf55af7a 100644
--- a/www/w3mir/pkg-plist
+++ b/www/w3mir/pkg-plist
@@ -4,6 +4,8 @@ bin/w3mir
%%SITE_PERL%%/w3http.pm
%%SITE_PERL%%/w3pdfuri.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/w3mir/.packlist
+man/man1/w3mfix.1.gz
+man/man1/w3mir.1.gz
share/doc/w3mir/Artistic
share/doc/w3mir/README
share/doc/w3mir/example.cfg