aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/usermin/Makefile
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2006-02-02 05:27:09 +0800
committerolgeni <olgeni@FreeBSD.org>2006-02-02 05:27:09 +0800
commita559a340b950b3551292b137886ab55cb6531ce0 (patch)
tree524cb6b3a4a3c2dcf4dbc6ce8820065b6f1190f6 /sysutils/usermin/Makefile
parent4eda815bdde85327d65b7c5f2cb61705369d43ea (diff)
downloadfreebsd-ports-graphics-a559a340b950b3551292b137886ab55cb6531ce0.tar.gz
freebsd-ports-graphics-a559a340b950b3551292b137886ab55cb6531ce0.tar.zst
freebsd-ports-graphics-a559a340b950b3551292b137886ab55cb6531ce0.zip
Use SUB_FILES, optimize MASTER_SITES, update module forward-1.190-1.
Diffstat (limited to 'sysutils/usermin/Makefile')
-rw-r--r--sysutils/usermin/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/sysutils/usermin/Makefile b/sysutils/usermin/Makefile
index ed94f8c5b4e..10acda19386 100644
--- a/sysutils/usermin/Makefile
+++ b/sysutils/usermin/Makefile
@@ -7,11 +7,12 @@
PORTNAME= usermin
PORTVERSION= 1.190
+PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= http://www.webmin.com/uupdates/ \
- ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= webadmin
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${USERMIN_MODULES}
+MASTER_SITES= http://www.webmin.com/uupdates/:up \
+ ${MASTER_SITE_SOURCEFORGE:S/$/:sf/}
+MASTER_SITE_SUBDIR= webadmin/:sf
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sf ${USERMIN_MODULES:S/gz$/gz:up/}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= olgeni@FreeBSD.org
@@ -22,10 +23,12 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net
NO_BUILD= yes
USE_PERL5= yes
-USE_RC_SUBR= yes
+USE_RC_SUBR= usermin.sh
USE_REINPLACE= yes
+SUB_LIST= PERL5=${PERL}
-USERMIN_MODULES=schedule-1.190-1.wbm.gz
+USERMIN_MODULES=forward-1.190-1.wbm.gz \
+ schedule-1.190-1.wbm.gz
post-extract:
@if [ "${USERMIN_MODULES}" != "" ]; then \