aboutsummaryrefslogtreecommitdiffstats
path: root/www/smb2www/Makefile
blob: b61e6b341bb0791d86bb595c28cf92a15fd181ae (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
38
39
40
# 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

DEPRECATED= apache13 is deprecated, migrate to 2.2.x+ now
EXPIRATION_DATE=    2011-11-01

MAKE_JOBS_SAFE=  yes

USE_APACHE= 13
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>