svn commit: r353630 - head/www/w3mir

Andrey A. Chernov ache at FreeBSD.org
Sat May 10 23:34:10 UTC 2014


Author: ache
Date: Sat May 10 23:34:09 2014
New Revision: 353630
URL: http://svnweb.freebsd.org/changeset/ports/353630
QAT: https://qat.redports.org/buildarchive/r353630/

Log:
  Convert to stage

Modified:
  head/www/w3mir/Makefile
  head/www/w3mir/pkg-plist

Modified: head/www/w3mir/Makefile
==============================================================================
--- head/www/w3mir/Makefile	Sat May 10 23:24:34 2014	(r353629)
+++ head/www/w3mir/Makefile	Sat May 10 23:34:09 2014	(r353630)
@@ -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 at 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>

Modified: head/www/w3mir/pkg-plist
==============================================================================
--- head/www/w3mir/pkg-plist	Sat May 10 23:24:34 2014	(r353629)
+++ head/www/w3mir/pkg-plist	Sat May 10 23:34:09 2014	(r353630)
@@ -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


More information about the svn-ports-all mailing list