aboutsummaryrefslogtreecommitdiffstats
path: root/www/smb2www/Makefile
blob: 95b38d012f264c47ac49816bddf42bbbdd9dedb8 (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
36
37
# Ports collection makefile for:  smb2www
# Date created:           Mar 25 2001
# Whom:               Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#

PORTNAME=   smb2www
PORTVERSION=    0.0.980804
PORTREVISION=   7
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>