aboutsummaryrefslogtreecommitdiffstats
path: root/www/phpgedview/Makefile
blob: bf51d8fd2cda43e9ef96dd300ef4b40f110d4e6d (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# New ports collection makefile for:    phpGedView
# Date created:             20 fevrier 2004
# Whom:                 Hubert Tournier <hubert@frbsd.org>
#
# $FreeBSD$
#

PORTNAME=   phpGedView
PORTVERSION=    3.2.1
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= phpgedview
DISTNAME=   ${PORTNAME}-${PORTVERSION}final

MAINTAINER= alecn2002@yandex.ru
COMMENT=    Online genealogy viewer

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_PHP=    yes
NO_BUILD=   yes
USE_MYSQL=  yes

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

post-extract:
.for f in ${FILES_TO_DISTATE}
    ${MV}  ${WRKSRC}/${f} ${WRKSRC}/${f}-dist
.endfor
    ${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}

do-install:
    ${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

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
e/commit/hungarian?h=gstreamer&id=086aaa7065d7abc1a0163b0a7398dc941e28faee'>- upgrade to 3.5.2bapt2012-04-234-0/+22 * - Bump PORTREVISION to chase the update of multimedia/libvpxashish2012-02-163-0/+3 * The KDE/FreeBSD team is pleased to announce KDE SC 4.7.4, whichavilla2012-01-252-2/+7 * - Pass maintainership to office@FreeBSD.orgsunpoet2011-11-291-1/+1 * The KDE on FreeBSD team is pleased to update the KDE4 ports to 4.7.3.rakuco2011-11-141-2/+2 * The KDE/FreeBSD team is pleased to announce KDE Software Compilationavilla2011-10-172-8/+27 * - Set DIST_SUBDIR: move dist files to DISTDIR/mythessunpoet2011-08-182-2/+3 * - Set DIST_SUBDIR: move dist files to DISTDIR/hyphensunpoet2011-08-182-2/+3 * - Change MASTER_SITES to my LOCAL to avoid implicit change of non-versionedsunpoet2011-08-184-8/+8 * - Set WRKSRCsunpoet2011-08-131-1/+2 * - Fix MASTER_SITESsunpoet2011-08-083-49/+11 * - Move language prefix to PKGNAMEPREFIXsunpoet2011-07-292-9/+12 * Pass matainership to the new office teambapt2011-07-222-2/+2 * Add some locales thesaurusbapt2011-07-214-0/+34 * Add Hungarian hyphenation rulesbapt2011-07-214-0/+33 * - now only provides the hungarian dictionnariesbapt2011-07-206-148/+17 * - Connect textproc/hunspell to the buildjlaffaye2011-07-191-1/+0 * take maintainership, no reply from previous maintainerbapt2011-07-111-1/+1 * Reset maintainership de jure. In fact KDE 3 has not been maintained by our teammakc2011-07-082-2/+2 * Update KDE Software Compilation ports to 4.6.5makc2011-07-082-2/+35 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.4. Read fullavilla2011-06-142-2/+3 * Update KDE Software Compilation ports to 4.6.3makc2011-05-172-2/+19 * Fix PKGORIGINmakc2011-04-192-2/+2 * - Update KOffice to 2.3.3.avilla2011-04-132-4/+4 * The FreeBSD KDE Team is pleased to announce April updates for KDEavilla2011-04-071-2/+2 * - Connect hungarian/koffice-kde4-l10n to the build, and, mostavilla2011-03-251-0/+1 * - Update KOffice to 2.3.1.avilla2011-03-258-0/+146 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.1 and KDE PIMavilla2011-03-252-13/+53 * - Get Rid MD5 supportmiwi2011-03-209-10/+0 * - The KDE FreeBSD team is proud to announce the release of KDE 4.5.5fluffy2011-01-081-2/+2 * KDE FreeBSD team presents KDE SC 4.5.4.makc2010-12-031-2/+2 * KDE FreeBSD team presents KDE SC 4.5.3.makc2010-11-042-3/+5 * KDE FreeBSD team presents KDE SC 4.5.2.makc2010-10-062-3/+45 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-162-4/+2 * KDE FreeBSD team presents KDE SC 4.5.1.makc2010-09-032-376/+11 * Present KDE SC 4.4.5 for FreeBSD.makc2010-06-301-3/+3 * - Update to 1.2.11gabor2010-06-039-71/+57 * Present KDE SC 4.4.4 for FreeBSD.makc2010-06-021-3/+3 * - Update to 1.6.1gabor2010-06-013-5/+7 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-313-2/+3 * - The FreeBSD KDE team is pleased to announce KDE SC 4.4.3 for FreeBSDfluffy2010-05-113-33/+83 * - update to 1.4.1dinoex2010-03-283-2/+3 * Presenting KDE 4.3.5 for FreeBSD. The official release notes for thismiwi2010-02-073-4/+4 * - update to jpeg-8dinoex2010-02-053-2/+3 * The FreeBSD KDE is please to announce the release of KDE 4.3.4,miwi2009-12-022-3/+6