1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/www/smb2www/Makefile
2010-09-14 18:30:17 +00:00

38 lines
880 B
Makefile

# Ports collection makefile for: smb2www
# Date created: Mar 25 2001
# Whom: Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#
PORTNAME= smb2www
PORTVERSION= 0.0.980804
PORTREVISION= 6
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SAMBA}
MASTER_SITE_SUBDIR= smb2www
DISTNAME= ${PORTNAME}-${PORTVERSION:S/0.0.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Windows Network client that is accessible through a web browser
RUN_DEPENDS= smbclient:${PORTSDIR}/${SAMBA_PORT} \
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
SAMBA_PORT?= net/samba34
MAKE_JOBS_SAFE= yes
USE_APACHE= 1.3
USE_PERL5= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local/www/smb2www,${WWWDIR},g' -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Install.pl
do-install:
@cd ${WRKSRC}; ${PERL} ${WRKSRC}/Install.pl
.include <bsd.port.mk>