head	1.15;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.8
	RELEASE_8_2_0:1.8
	RELEASE_6_EOL:1.8
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.8
	RELEASE_8_0_0:1.8
	RELEASE_7_2_0:1.5
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.15
date	2013.03.10.14.05.37;	author svnexp;	state dead;
branches;
next	1.14;

1.14
date	2013.02.05.15.47.07;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.11.17.05.57.30;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.09.04.22.27.55;	author ohauer;	state Exp;
branches;
next	1.11;

1.11
date	2012.02.23.20.52.27;	author bapt;	state Exp;
branches;
next	1.10;

1.10
date	2012.01.26.09.47.21;	author mm;	state Exp;
branches;
next	1.9;

1.9
date	2011.08.20.19.00.05;	author ohauer;	state Exp;
branches;
next	1.8;

1.8
date	2009.05.26.07.20.32;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2009.05.26.00.01.25;	author pgollucci;	state Exp;
branches;
next	1.6;

1.6
date	2009.05.25.22.47.49;	author pgollucci;	state Exp;
branches;
next	1.5;

1.5
date	2008.02.20.09.57.47;	author beech;	state Exp;
branches;
next	1.4;

1.4
date	2006.03.01.21.42.34;	author mnag;	state Exp;
branches;
next	1.3;

1.3
date	2006.02.25.21.51.59;	author kris;	state Exp;
branches;
next	1.2;

1.2
date	2004.06.16.19.05.59;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2004.01.03.07.39.41;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313778
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/ftp/proma/Makefile 311718 2013-02-05 15:07:10Z bapt $

PORTNAME=	proma
PORTVERSION=	0.8.3
PORTREVISION=	1
CATEGORIES=	ftp
MASTER_SITES=	SF

MAINTAINER=	sexbear@@tmu.edu.tw
COMMENT=	Administrate a ProFTPd server storing users in a MySQL database

DEPRECATED=	Broken for more than 6 month
EXPIRATION_DATE=	2013-03-05
BROKEN=		define an @@exec depending on %F and %B before any files defined

USE_BZIP2=	yes
NO_BUILD=	yes

PORTDOCS=	ChangeLog INSTALL README TODO UPGRADE
FILES=		index.php style.css config.inc.php-example
LIBS=		admin.lib.php auth.lib.php common.lib.php
PAGES=		admin.inc.php change.inc.php main.inc.php register.inc.php

OPTIONS=	PROFTPD "Install ProFTPd with MySQL support" off \
		APACHE "Install Apache Web Server 2.2.x" off \
		MYSQL "Install MySQL Server 5.x" off \
		PHP "Install PHP5 with MySQL support" off

SUB_FILES=	pkg-message

.if defined(WITH_PROFTPD)
RUN_DEPENDS+=	${LOCALBASE}/libexec/proftpd/mod_sql_mysql.so:${PORTSDIR}/databases/proftpd-mod_sql_mysql
.endif
.if defined(WITH_APACHE)
USE_APACHE_RUN=	22
.endif
.if defined(WITH_MYSQL)
USE_MYSQL=	yes
.endif
.if defined(WITH_PHP)
USE_PHP=    mysql pcre xml gd
.endif

do-install:
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}/
	@@cd ${WRKSRC}/docs && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
	@@${MKDIR} ${WWWDIR}/
	@@${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/,} ${WWWDIR}/
	@@${INSTALL} -d ${WWWDIR}/libs
	@@${INSTALL_DATA} ${LIBS:S,^,${WRKSRC}/libs/,} ${WWWDIR}/libs/
	@@${INSTALL} -d ${WWWDIR}/pages
	@@${INSTALL_DATA} ${PAGES:S,^,${WRKSRC}/pages/,} ${WWWDIR}/pages/

post-install:
	@@if [ ! -f ${WWWDIR}/config.inc.php ]; then \
		${CP} -p ${WRKSRC}/config.inc.php-example ${WWWDIR}/config.inc.php ; \
		${CP} -p ${WRKSRC}/config.inc.php-example ${WWWDIR}/config.inc.php-example ; \
		${CHMOD} 640 ${WWWDIR}/config.inc.php* ; \
	fi
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	@@${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
	@@${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.14
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311718
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@@


1.13
log
@Switch exporter over
@
text
@d1 1
a1 1
# $FreeBSD: head/ftp/proma/Makefile 303678 2012-09-04 22:27:55Z ohauer $
d12 2
@


1.12
log
@SVN rev 303678 on 2012-09-04 22:27:55Z by ohauer

- unbreak build
  since the port has NO_BUILD set use s/USE_APACHE/USE_APACHE_RUN/

with hat apache@@
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.11
log
@Mark broken: define an @@exec depending on %F and %B before any files defined.
@
text
@a0 4
# New ports collection makefile for:    proma
# Date created:         25.08.2003
# Whom:                 HSIN-HSIUNG CHANG <sexbear@@tmu.edu.tw>
#
a1 1
#
d33 1
a33 1
USE_APACHE=	22
@


1.10
log
@Update proftpd-mysql dependency to databases/proftpd-mod_sql_mysql
@
text
@d17 2
@


1.9
log
@- USE_APACHE=  /1.3/13/  /2.0/20/ /2.2/22/
@
text
@d10 1
d33 1
a33 1
RUN_DEPENDS+=	proftpd:${PORTSDIR}/ftp/proftpd-mysql
@


1.8
log
@- Revert; previous commit was made based on a bad analysis
@
text
@d35 1
a35 1
USE_APACHE=	2.2
@


1.7
log
@Reset maintainer

<freebsd@@akherb.com>: host bsdevel.akherb.com[208.86.224.193] said: 554 5.7.1
<freebsd@@akherb.com>: Relay access denied (in reply to RCPT TO command)

Approved by:    portmgr (pav)
@
text
@d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.6
log
@- convert to USE_APACHE/USE_MYSQL/USE_PHP
- install -> mkdir
- move perms to post-install
- Cleanup config.php.inc and -example handling

PR:             ports/134452
Approved by:    maintainer timeout (2 weeks)
Submitted by:   me
@
text
@d13 1
a13 1
MAINTAINER=	sexbear@@tmu.edu.tw
@


1.5
log
@- Update to 0.8.3;
- Use SF macro;
- Use BZIP2 package;
- Respect WWWDIR, and install all docs in DOCSDIR;
- OPTIONS to install MySQL, Apache, PHP and ProFTPd-MySQL;
- Update/replace pkg-message;
- Update and sort pkg-plist.

PR:		ports/120306
Submitted by:	Felippe de Meirelles Motta <lippemail@@gmail.com>
Approved by:	maintainer timeout (two weeks)
@
text
@d35 1
a35 1
RUN_DEPENDS+=	apachectl:${PORTSDIR}/www/apache22
d38 1
a38 1
RUN_DEPENDS+=	mysql:${PORTSDIR}/databases/mysql50-server
d41 1
a41 1
RUN_DEPENDS+=	php:${PORTSDIR}/lang/php5
d46 1
a46 1
	@@${INSTALL} -d ${DOCSDIR}
d49 1
a49 1
	@@${INSTALL} -d ${WWWDIR}
a54 5
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	@@${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
	@@${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
		${WWWDIR}' >> ${TMPPLIST}
d58 3
a60 2
	${CP} -p ${WWWDIR}/config.inc.php-example ${WWWDIR}/config.inc.php ; \
	${CHMOD} 640 ${WWWDIR}/config.inc.php ; \
d62 3
@


1.4
log
@- Fix plist
- UnBROKEN
- portlint(1)

PR:		93846
Submitted by:	Jean-Franois BOEUF <jfb__a__minet.net>
Approved by:	portmgr ()
@
text
@d9 1
a9 1
PORTVERSION=	0.8.2
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
d14 1
a14 1
COMMENT=	Administrating a ProFTPd server storing users in a MySQL database
d16 1
d19 24
a42 3
MYADMDIR?=	www/data/proma

PLIST_SUB+=	MYADMDIR=${MYADMDIR}
d45 21
a65 5
	@@${MKDIR} ${PREFIX}/${MYADMDIR}
	${FIND} ${WRKSRC} ! -path '*/CVS*' | \
		${XARGS} -n1 ${SH} -c 'if ${TEST} -d $$0; \
			then ${MKDIR} ${PREFIX}/${MYADMDIR}$${0#${WRKSRC}}; \
			else ${INSTALL_DATA} $$0 ${PREFIX}/${MYADMDIR}$${0#${WRKSRC}}; fi'
@


1.3
log
@BROKEN: Incomplete pkg-plist

Approved by:    portmgr (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	0.8.1
a16 2
BROKEN=		Incomplete pkg-plist

d24 2
a25 2
	${MKDIR} ${PREFIX}/${MYADMDIR}
	@@${FIND} ${WRKSRC} ! -path '*/CVS*' | \
d30 1
@


1.2
log
@- Update to 0.8.1

PR:		ports/67422
Submitted by:	Brad Davis <so14k@@so14k.com>
Approved by:	maintainer timeout (16 days)
@
text
@d17 2
@


1.1
log
@New port: ftp/proma

	ProMA is a PHP4 based system for administrating a ProFTPd
	server storing users in a MySQL database.

PR:		ports/55924
Submitted by:	HSIN-HSIUNG CHANG <sexbear@@tmu.edu.tw>
@
text
@d9 1
a9 1
PORTVERSION=	0.8
d11 2
a12 1
MASTER_SITES=	http://www.jodal.no/projects/proma/
@

