blob: 3ae969f57b44c569e08894f662fda7cc175c3011 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $FreeBSD$
PORTNAME= virtualmin
PORTVERSION= 4.02
CATEGORIES= sysutils
MASTER_SITES= http://download.webmin.com/download/virtualmin/
DISTNAME= virtual-server-${PORTVERSION}.gpl
EXTRACT_SUFX= .wbm.gz
MAINTAINER= olgeni@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
NO_STAGE= yes
post-extract:
@${RM} -r ${WRKSRC}/images/.xvpics
@${FIND} ${WRKSRC} -name "*.swp" -delete
@${FIND} ${WRKSRC} -name "*.cgi" | ${XARGS} ${REINPLACE_CMD} -e "s@/usr/local/bin/perl@${PERL}@"
@${FIND} ${WRKSRC} -name "*.bak" -delete
@${FIND} ${WRKSRC} -name "*.cgi" | ${XARGS} ${CHMOD} 755
@${FIND} ${WRKSRC} -type d -empty | ${XARGS} ${RMDIR}
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>
|