diff options
Diffstat (limited to 'www/phpgedview')
-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. ======================================= |