freebsd-ports/sysutils/webmin/Makefile
Andreas Klemm 01d6f0ad11 Upgrade webmin port from 0.80 to 0.82
Obtained patches from James (see PR)
Further enhancements from me:
- make port portlint clean
- remove webmins behaviour, to write its startup code to /etc/rc.local
  a) this behaviour is discouraged now in FreeBSD
  b) it blindly appended the startup code at the end of rc.local ...
     my last line is exit 0, so startup code never has been executed.
- wrote simple startup script that will be installed in our usual place.
  did that PREFIX-clean(tm)
- added FreeBSD 4.1 and 4.2 to the os-list ...

PR:		22312
Submitted by:	"James E. Housley" <jeh@FreeBSD.org>
2000-11-01 13:09:35 +00:00

40 lines
1.2 KiB
Makefile

# New ports collection makefile for: webmin
# Date created: Do 19 Nov 1998 21:13:55 CET
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#
PORTNAME= webmin
PORTVERSION= 0.82
CATEGORIES= sysutils
MASTER_SITES= http://www.webmin.com/webmin/download/
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
NO_BUILD= yes
IS_INTERACTIVE= yes
USE_PERL5= yes
post-patch:
${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
do-install:
${MKDIR} ${LOCALBASE}/lib/webmin
${CP} -r ${WRKSRC}/* ${LOCALBASE}/lib/webmin
@cd ${LOCALBASE}/lib/webmin && find . -name "*.orig" -print \
| xargs ${RM}
@cd ${LOCALBASE}/lib/webmin && ./setup.sh
${MV} /tmp/webmin.sh ${LOCALBASE}/etc/rc.d/webmin.sh
.include <bsd.port.mk>