1998-11-19 22:38:24 +01:00
|
|
|
# New ports collection makefile for: webmin
|
|
|
|
# Date created: Do 19 Nov 1998 21:13:55 CET
|
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
#
|
1999-08-31 04:00:46 +02:00
|
|
|
# $FreeBSD$
|
1998-11-19 22:38:24 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:09:11 +02:00
|
|
|
PORTNAME= webmin
|
2001-02-01 00:07:37 +01:00
|
|
|
PORTVERSION= 0.84
|
1998-11-19 22:38:24 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.webmin.com/webmin/download/
|
|
|
|
|
2001-01-24 13:43:14 +01:00
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
1998-11-19 22:38:24 +01:00
|
|
|
|
2000-11-01 14:09:35 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
|
2000-04-17 21:12:08 +02:00
|
|
|
|
1998-11-19 22:38:24 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
IS_INTERACTIVE= yes
|
1998-11-19 22:41:15 +01:00
|
|
|
USE_PERL5= yes
|
1998-11-19 22:38:24 +01:00
|
|
|
|
2000-01-08 14:50:05 +01:00
|
|
|
post-patch:
|
2000-04-09 21:09:11 +02:00
|
|
|
${CP} ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.0 \
|
|
|
|
${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.1
|
|
|
|
${CP} ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.0 \
|
|
|
|
${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.2
|
|
|
|
${CP} ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.0 \
|
|
|
|
${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.3
|
|
|
|
${CP} ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.0 \
|
|
|
|
${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.4
|
2001-02-02 23:21:53 +01:00
|
|
|
${CP} ${WRKSRC}/postfix/config ${WRKSRC}/postfix/config.sed
|
|
|
|
${SED} -e "s@/usr/sbin/postfix@${LOCALBASE}/sbin/postfix@" \
|
|
|
|
-e "s@/usr/sbin/postconf@${LOCALBASE}/sbin/postconf@" \
|
|
|
|
-e "s@/etc/postfix/main.cf@${LOCALBASE}/etc/postfix/main.cf@" \
|
|
|
|
-e "s@/usr/sbin/postalias@${LOCALBASE}/sbin/postalias@" \
|
|
|
|
-e "s@/usr/sbin/postmap@${LOCALBASE}/sbin/postmap@" \
|
|
|
|
${WRKSRC}/postfix/config.sed > ${WRKSRC}/postfix/config
|
|
|
|
${RM} ${WRKSRC}/postfix/config.sed
|
2000-01-08 14:50:05 +01:00
|
|
|
|
1998-11-19 22:38:24 +01:00
|
|
|
do-install:
|
2000-11-25 21:29:43 +01:00
|
|
|
@${MKDIR} ${PREFIX}/lib/webmin
|
|
|
|
@${CP} -r ${WRKSRC}/* ${PREFIX}/lib/webmin
|
|
|
|
@cd ${PREFIX}/lib/webmin && find . -name "*.orig" -print \
|
2000-11-01 14:09:35 +01:00
|
|
|
| xargs ${RM}
|
2000-11-25 21:29:43 +01:00
|
|
|
@cd ${PREFIX}/lib/webmin && ./setup.sh
|
|
|
|
@${MV} /tmp/webmin.sh ${PREFIX}/etc/rc.d/webmin.sh
|
|
|
|
@${CHMOD} 554 ${PREFIX}/etc/rc.d/webmin.sh
|
1998-11-19 22:38:24 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|