diff options
author | edwin <edwin@FreeBSD.org> | 2004-12-23 09:18:36 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-12-23 09:18:36 +0800 |
commit | 34d17228fec25fd7e14a644dd0abff011fd08e8a (patch) | |
tree | b1bf9a25e2d30873a9223ca5aa30c05bbe194e3b /www | |
parent | 453938e791ab29762c0664c70387a195f9c10109 (diff) | |
download | freebsd-ports-gnome-34d17228fec25fd7e14a644dd0abff011fd08e8a.tar.gz freebsd-ports-gnome-34d17228fec25fd7e14a644dd0abff011fd08e8a.tar.zst freebsd-ports-gnome-34d17228fec25fd7e14a644dd0abff011fd08e8a.zip |
[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>
Diffstat (limited to 'www')
-rw-r--r-- | www/phpgedview/Makefile | 11 | ||||
-rw-r--r-- | www/phpgedview/distinfo | 4 | ||||
-rw-r--r-- | www/phpgedview/pkg-message | 10 |
3 files changed, 15 insertions, 10 deletions
diff --git a/www/phpgedview/Makefile b/www/phpgedview/Makefile index 3483649294ce..3f43f565db1e 100644 --- a/www/phpgedview/Makefile +++ b/www/phpgedview/Makefile @@ -6,11 +6,12 @@ # PORTNAME= phpGedView -PORTVERSION= 3.1 +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 @@ -22,7 +23,7 @@ NO_BUILD= yes USE_MYSQL= yes GEDVIEWDIR?= www/data/phpGedView -FULLGWDIR= ${LOCALBASE}/${GEDVIEWDIR} +FULLGWDIR= ${PREFIX}/${GEDVIEWDIR} PLIST_SUB+= GEDVIEWDIR=${GEDVIEWDIR} PLIST= ${WRKDIR}/pkg-plist @@ -33,9 +34,9 @@ FILES_TO_DISTATE= authentication_index.php \ config_download.php \ config_gedcom.php -pre-install: +post-extract: .for f in ${FILES_TO_DISTATE} - ${CP} ${WRKSRC}/${f} ${WRKSRC}/${f}-dist + ${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} @@ -45,7 +46,7 @@ do-install: ${CP} -Rnv ${WRKSRC}/* ${FULLGWDIR} ${FIND} ${FULLGWDIR} -type d -exec ${CHMOD} a+x {} \; .for f in ${FILES_TO_DISTATE} - ${CHMOD} a+w ${FULLGWDIR}/${f} + ${CHMOD} a+w ${FULLGWDIR}/${f}-dist .endfor ${CHMOD} a+w ${FULLGWDIR}/index diff --git a/www/phpgedview/distinfo b/www/phpgedview/distinfo index 266270299d6b..eeb08ade7eed 100644 --- a/www/phpgedview/distinfo +++ b/www/phpgedview/distinfo @@ -1,2 +1,2 @@ -MD5 (phpGedView-3.1.tar.gz) = bc71b3fce5af8f76d1de12ea8fa80dda -SIZE (phpGedView-3.1.tar.gz) = 1951798 +MD5 (phpGedView-3.2.1final.tar.gz) = 4c13cf9ea1f9273cb35fa6e3cde947f9 +SIZE (phpGedView-3.2.1final.tar.gz) = 2962536 diff --git a/www/phpgedview/pkg-message b/www/phpgedview/pkg-message index f75b8406582e..3f39ab16d4c8 100644 --- a/www/phpgedview/pkg-message +++ b/www/phpgedview/pkg-message @@ -1,7 +1,11 @@ ======================================= +If it's your initial installation, you should: -You should now point your web browser to the phpGedView folder -(http://www.yourserver.com/phpGedView/) to automatically begin the online -configuration process. +- Go to /usr/local/www/data/phpGedView/ and copy all files ending + with -dist to their name without -dist. + +- point your web browser to the phpGedView folder + (http://www.yourserver.com/phpGedView/) to automatically begin + the online configuration process. ======================================= |