aboutsummaryrefslogtreecommitdiffstats
path: root/www/chpasswd/Makefile
blob: 7142642014d43b678775986b78d1cc5cb3551e33 (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
# New ports collection makefile for:    chpasswd
# Date created:     18 December 2003
# Whom:         Jean Milanez Melo <jmelo@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   chpasswd
PORTVERSION=    2.2.3
PORTREVISION=   2
CATEGORIES= www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= orsochpasswd

MAINTAINER= jmelo@FreeBSD.org
COMMENT=    Allow users to change their Squid or Web password using the browser

HAS_CONFIGURE=  yes

CONFIGURE_ARGS= --prefix=${PREFIX}/etc/chpasswd \
        --enable-language=English \
        --enable-cgidir=${PREFIX}/www/cgi-bin

.include <bsd.port.pre.mk>

.if (${OSVERSION} >= 700000)
BROKEN=     Does not compile on 7.X
.endif

pre-install:
    @${MKDIR} ${PREFIX}/www/cgi-bin

post-install:
    @${ECHO} 'Remember, passwd and log file must be owned by httpd user, or chmod 777'

.include <bsd.port.post.mk>