1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/sysutils/virtualmin/Makefile
Thomas Abthorpe ccf61e77d3 - Update to 3.48
Approved by:	clsung (mentor)
2007-10-21 03:51:02 +00:00

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: virtualmin
# Date created: Fri Oct 24 20:51:00 CEST 2003
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= virtualmin
PORTVERSION= 3.48
CATEGORIES= sysutils
MASTER_SITES= http://download.webmin.com/download/virtualmin/
DISTNAME= virtual-server-${PORTVERSION}.gpl
EXTRACT_SUFX= .wbm.gz
MAINTAINER= tabthorpe@FreeBSD.org
COMMENT= A virtual hosting management system based on webmin
RUN_DEPENDS= ${LOCALBASE}/lib/webmin/webmin-init:${PORTSDIR}/sysutils/webmin
NO_BUILD= yes
WRKSRC= ${WRKDIR}/virtual-server
post-extract:
@${FIND} ${WRKSRC} -name .xvpics | ${XARGS} ${RM} -r
@${FIND} ${WRKSRC} -name *.swp | ${XARGS} ${RM}
@${FIND} ${WRKSRC} -name *.cgi | ${XARGS} ${REINPLACE_CMD} -e "s@/usr/local/bin/perl@${PERL}@"
@${FIND} ${WRKSRC} -name *.cgi | ${XARGS} ${CHMOD} 755
@${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM}
do-install:
@${MKDIR} ${PREFIX}/lib/webmin
@${MKDIR} ${PREFIX}/etc/webmin/virtual-server
@${CP} -r ${WRKSRC} ${PREFIX}/lib/webmin
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>