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


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

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

1.12
date	2010.12.28.20.42.41;	author beech;	state Exp;
branches;
next	1.11;

1.11
date	2009.08.22.00.38.20;	author amdmi3;	state Exp;
branches;
next	1.10;

1.10
date	2009.08.10.16.28.52;	author bsam;	state Exp;
branches;
next	1.9;

1.9
date	2009.02.09.13.17.57;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2008.04.29.16.01.27;	author beech;	state Exp;
branches;
next	1.7;

1.7
date	2008.04.27.05.00.29;	author beech;	state Exp;
branches;
next	1.6;

1.6
date	2006.05.21.21.56.05;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2004.12.23.01.18.36;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2004.12.22.21.24.30;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2004.12.21.23.23.42;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2004.05.28.08.52.58;	author erwin;	state Exp;
branches;
next	1.1;

1.1
date	2004.05.27.22.03.08;	author pav;	state Exp;
branches;
next	;


desc
@@


1.14
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314915
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Hubert Tournier <hubert@@frbsd.org>
# $FreeBSD: head/www/phpgedview/Makefile 314915 2013-03-22 11:53:34Z bapt $

PORTNAME=	phpGedView
PORTVERSION=	4.2.3
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME:L}/1%20PhpGedView/PhpGedView%20v${PORTVERSION}
DISTNAME=	${PORTNAME:S/p/P/}-basic-${PORTVERSION}

MAINTAINER=	fbsd@@opal.com
COMMENT=	Online genealogy viewer

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
EXTRACT_AFTER_ARGS=	-d ${WRKSRC}
FETCH_ARGS=	-pRr

USE_ZIP=	yes
USE_PHP=	calendar dom gd pcre session xml
NO_BUILD=	yes

SUB_FILES=	pkg-message pkg-deinstall
DISTATE=	config.php config_download.php config_gedcom.php

OPTIONS_MULTI=	DB
OPTIONS_MULTI_DB=	MYSQL PGSQL SQLITE
DB_DESC=	Data storage

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL=	yes
USE_PHP +=	pdo_mysql
.endif

.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL=	yes
USE_PHP +=	pdo_pgsql
.endif

.if ${PORT_OPTIONS:MSQLITE}
USE_PHP +=	pdo_sqlite
.endif

post-extract:
.for f in ${DISTATE}
	@@${MV} ${WRKSRC}/${f} ${WRKSRC}/${f}-dist
.endfor

do-install:
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/index ${WWWDIR}/media
	@@${CHMOD} -R u+w ${WWWDIR}/index ${WWWDIR}/media
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/index ${WWWDIR}/media' >>${TMPPLIST}
	@@${ECHO_CMD} '@@exec ${CHMOD} -R u+w ${WWWDIR}/index ${WWWDIR}/media' >>${TMPPLIST}

post-install:
.for f in ${DISTATE}
	@@if [ ! -f ${WWWDIR}/${f} ]; then \
		${CP} -p ${WWWDIR}/${f}-dist ${WWWDIR}/${f}; \
		${CHMOD} a+w ${WWWDIR}/${f}; \
	fi
.endfor
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.13
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	phpGedView
# Date created:				20 février 2004
# Whom:					Hubert Tournier <hubert@@frbsd.org>
#
# $FreeBSD: head/www/phpgedview/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d24 5
a28 12
OPTIONS=\
	MYSQL	"Install MYSQL data storage option"		off \
	PGSQL	"Install Postgress data storage option"		off \
	SQLITE	"Install SQLITE data storage option"		on

.include <bsd.port.pre.mk>

.if !defined(WITH_MYSQL) && !defined(WITH_PGSQL) && !defined(WITH_SQLITE)
check-makevars::
		@@${ECHO_CMD} "${PKGNAME}: Makefile options: at least one database: MYSQL, PGSQL or SQLITE must be installed."
		@@${FALSE}
.endif
d30 1
a30 1
.if defined(WITH_MYSQL)
d35 1
a35 1
.if defined(WITH_PGSQL)
d40 1
a40 1
.if defined(WITH_SQLITE)
d65 1
a65 1
.include <bsd.port.post.mk>
@


1.12
log
@Update to 4.2.3

PR:		ports/153152
Submitted by:	J.R. Oldroyd (fbsd@@opal.com) (maintainer)
Approved by:	itetcu (mantor) (implicit)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d9 1
a9 1
PORTVERSION=	4.2.2
d43 1
d48 1
d52 1
a52 1
USE_PHP +=	sqlite
@


1.10
log
@. update to version 4.2.2;  [1]
. use FETCH_ARGS=-pRr to download distfile (SF uses redirects).  [2]

*NOTE*: the port uses non-ascii symbols at pkg-plist. This causes at
least problems with GNAT database -- the patch has got corrupted.

PR:		ports/137633  [1]
Submitted by:	"J.R. Oldroyd" <fbsd at opal.com> (maintainer)  [1]
Approved by:	maintainer (by e-mail)  [2]
@
text
@d11 1
a11 2
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	phpgedview
@


1.9
log
@- Update to 4.2

PR:		131510
Submitted by:	"J.R. Oldroyd" <fbsd@@opal.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.2
d20 1
@


1.8
log
@- Add options
- Fix permissions
- Bump portrevision

Submitted by:	"J.R. Oldroyd" <jr@@opal.com> (Maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	4.1.4
PORTREVISION=	1
@


1.7
log
@- Update to 4.1.14
- Add many fixes and tweaks
- Use pkg-plist
- Pass maintainership to submitter

PR:		ports/121161
Submitted by:	J.R. Oldroyd <fbsd@@opal.com>
Approved by:	alecn2002 <alecn2002@@yandex.ru>
@
text
@d10 1
d23 1
a23 1
USE_PHP=	yes
d29 25
d61 4
a64 6
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	@@${CHMOD} 755 ${WWWDIR}
	@@${CHMOD} 644 ${WWWDIR}/index
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >>${TMPPLIST}
	@@${ECHO_CMD} '@@exec ${CHMOD} 755 ${WWWDIR}' >>${TMPPLIST}
	@@${ECHO_CMD} '@@exec ${CHMOD} 644 ${WWWDIR}/index' >>${TMPPLIST}
d70 1
a70 1
		${CHMOD} 666 ${WWWDIR}/${f}; \
d75 1
a75 1
.include <bsd.port.mk>
@


1.6
log
@- Fix plist after recent php changes
@
text
@d2 1
a2 1
# Date created:				20 fevrier 2004
d9 1
a9 2
PORTVERSION=	3.2.1
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
d13 1
a13 1
DISTNAME=	${PORTNAME}-${PORTVERSION}final
d15 1
a15 1
MAINTAINER=	alecn2002@@yandex.ru
d18 2
a19 1
WRKSRC=		${WRKDIR}/${PORTNAME}
d21 1
a23 1
USE_MYSQL=	yes
d25 2
a26 11
GEDVIEWDIR?=	www/data/phpGedView
FULLGWDIR=	${PREFIX}/${GEDVIEWDIR}
PLIST_SUB+=	GEDVIEWDIR=${GEDVIEWDIR}

PLIST=		${WRKDIR}/pkg-plist

FILES_TO_DISTATE=	authentication_index.php \
			authentication_mysql.php \
			config.php \
			config_download.php \
			config_gedcom.php
d29 2
a30 2
.for f in ${FILES_TO_DISTATE}
	${MV}  ${WRKSRC}/${f} ${WRKSRC}/${f}-dist
a31 3
	${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?%%GEDVIEWDIR%%?g" >${PLIST}
	${FIND} -s -d ${WRKSRC} -type d  | ${SED} "s?${WRKSRC}?@@dirrm %%GEDVIEWDIR%%?g" >> ${PLIST}
	${ECHO_CMD} @@dirrmtry www/data >> ${PLIST}
d34 7
a40 7
	${INSTALL_DATA} -d ${FULLGWDIR}
	${CP} -Rnv ${WRKSRC}/* ${FULLGWDIR}
	${FIND} ${FULLGWDIR} -type d -exec ${CHMOD} a+x {} \;
.for f in ${FILES_TO_DISTATE}
	${CHMOD} a+w ${FULLGWDIR}/${f}-dist
.endfor
	${CHMOD} a+w ${FULLGWDIR}/index
d43 6
@


1.5
log
@[MAINTAINER-UPDATE] www/phpGedView: update to 3.2.1

	- Update to 3.2.1

Also:
	- move pre-install to post-extract
	- do not copy the -dist files to their real name but leave
	  that as an exercise for the user. Otherwise it will clobber
	  up the pkg-plist too much, which is created at install-time
	  and thus doesn't have the nifty features like @@unexec.

PR:		ports/75384
Submitted by:	Alexander Novitsky <alecn2002@@yandex.ru>
@
text
@d43 1
@


1.4
log
@Remove direct dependency on apache, since it is implied with USE_PHP.

Noticed by: pointyhat / kris
@
text
@d9 1
a9 1
PORTVERSION=	3.1
d14 1
d26 1
a26 1
FULLGWDIR=	${LOCALBASE}/${GEDVIEWDIR}
d37 1
a37 1
pre-install:
d39 1
a39 1
	${CP}  ${WRKSRC}/${f} ${WRKSRC}/${f}-dist
d49 1
a49 1
	${CHMOD} a+w ${FULLGWDIR}/${f}
@


1.3
log
@[UPDATE] port www/phpgedview to ver.3.1

	'pkg-plist' file was deleted, it's generated on-the-fly now

PR:		ports/72001
Submitted by:	Alexander Novitsky <alecn2002@@yandex.ru>
@
text
@d10 1
a17 16
.if	defined(WITH_APACHE1)
RUN_DEPENDS=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
.else
RUN_DEPENDS=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache2
.endif

.if	defined(WITH_MYSQL) || defined(WITH_MYSQL41)
RUN_DEPENDS+=	${LOCALBASE}/bin/mysql_config:${PORTSDIR}/database/mysql41-server
.endif
.if	defined(WITH_MYSQL40)
RUN_DEPENDS+=	${LOCALBASE}/sbin/mysqlcc:${PORTSDIR}/database/mysql40-server
.endif
# .if	defined(WITH_MYSQL50)
# RUN_DEPENDS+=	${LOCALBASE}/sbin/mysqlcc:${PORTSDIR}/database/mysql50-server
# .endif

d22 1
@


1.2
log
@Fix CATEGORIES, this is www, not misc.
@
text
@d8 2
a9 2
PORTNAME=	phpgedview
PORTVERSION=	2.65.3
d12 1
a12 2
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	phpGedView-${PORTVERSION}
d14 1
a14 1
MAINTAINER=	hubert@@frbsd.org
d17 18
a35 1
WRKSRC=		${WRKDIR}/phpGedView
d39 1
d42 15
d58 7
a64 11
	${MKDIR} ${PREFIX}/${GEDVIEWDIR}
	${LN} -f ${WRKSRC}/authenticate.php ${WRKSRC}/authenticate.php-dist
	${LN} -f ${WRKSRC}/config.php ${WRKSRC}/config.php-dist
	${CP} -Rn ${WRKSRC}/* ${PREFIX}/${GEDVIEWDIR}
	${RM} ${PREFIX}/${GEDVIEWDIR}/GPL.txt
	${RM} ${PREFIX}/${GEDVIEWDIR}/changelog.txt
	${RM} ${PREFIX}/${GEDVIEWDIR}/languages/LANG_CHANGELOG.txt
	${FIND} ${PREFIX}/${GEDVIEWDIR} -type d -exec ${CHMOD} a+x {} \;
	${CHMOD} a+w ${PREFIX}/${GEDVIEWDIR}/authenticate.php
	${CHMOD} a+w ${PREFIX}/${GEDVIEWDIR}/config.php
	${CHMOD} a+w ${PREFIX}/${GEDVIEWDIR}/index
@


1.1
log
@PhpGedView parses GEDCOM 5.5 genealogy files and displays them on the
Internet in a format similar to desktop programs. All it requires to
run is a PHP enabled web server and a gedcom file. You can easily
customize it by using one of the provided themes or by modifying them
to meet your own needs.

PR:		ports/63153
Submitted by:	Hubert Tournier <hubert@@frbsd.org>
@
text
@d10 1
a10 1
CATEGORIES=	misc
@

