pkgsrc/databases/geneweb/Makefile
adrianp be84ed924e - Update of geneweb from 4.09 to 4.10
- ok'ed wulf@

> GeneWeb version 4.10
> --------------------
>
> * Languages
>   - [29 Jan 04] Added "Breton" (Tepod Gwilhmod, Gwenael Emelyanoff,
>     Bertrand Yeurc'h).
>
> * GeneWeb server or CGI (gwd)
>   - [06 Nov 04] In statistics, added displaying of oldest couples perhaps
>     still alive and engaged.
>   - [06 Jan 04] Fixed bug: when changing a child's name using "change
>     children's names", the possible image was not renamed, causing
>     its disparition.
>   - [05 Jan 04] Added database configuration variable "show_consang":
>     when set to "no" the possible consanguinity is not displayed in
>     personal pages. Added also variable "fast_alphabetic": when set
>     to "yes", the alphabetic display of surnames or first names is fast
>     but the number of surnames of fist names is not displayed (interesting
>     for large databases).
>   - [04 Dec 03] Fixed bug: in case of two wizards make changes at
>     the same time, there were (rare) cases where one of the changes
>     erases the other one (instead of being rejected by the message
>     "database is locked").
>   - [29 Nov 03] Added optional "border" and "background color" for
>     trees displaying (relationship links, ancestors and descendants).
>   - [28 Nov 03] Fixed bug creating sometimes dates with null month
>     (and not null day) resulting problems with "gwu-gwc" and "cleaning
>     up" the database by gwsetup (happened when a date was entered
>     with month=13 which was erroneously not rejected).
>   - [18 Jan 03] Added a system of black list for the database forum;
>     the environment variable "forum_exclude_file" can be set to a
>     file name containing a list of excluded IP addresses which cannot
>     post. In the lines of this file, the joker character "*" can be
>     used to specify any string (e.g. "*" exclude everybody).
>   - [14 Jan 03] In form to add message in the database forum, added
>     buttons "private/public": only "wizards" and "friend" can see
>     "private" messages.
>   - [06 Jan 03] In welcome page, added wizard's name (when named).
>
> * Base configuration files (base.gwf)
>   - [19 Mar 03] Added a variable "moved" to indicate that the database
>     has been moved. This displays the new template file "moved.txt".
>
> * Setup program (gwsetup)
>   - [12 Nov 03] Fixed bug: the links to the documentation did not work
>     with modern browsers.
>
> * GeneWeb uncompiler (gwu)
>   - [12 Feb 03] Fixed bug: exporting bad format when places containing
>     just spaces.
>     "private" messages.
>   - [06 Jan 03] In welcome page, added wizard's name (when named).
>
> * Base configuration files (base.gwf)
>   - [19 Mar 03] Added a variable "moved" to indicate that the database
>     has been moved. This displays the new template file "moved.txt".
>
> * Setup program (gwsetup)
>   - [12 Nov 03] Fixed bug: the links to the documentation did not work
>     with modern browsers.
>
> * GeneWeb uncompiler (gwu)
>   - [12 Feb 03] Fixed bug: exporting bad format when places containing
>     just spaces.
>   - [11 Feb 03] Added option -maxlev to specify a maximum number of
>     generations (descendants only) to export.
>
> * GeneWeb databases Transfer Program (gwtp)
>   - [08 Dec 03] Added German (Falko Trojahn).
>   - [14 Oct 03] Added Spanish (Luis Mondesi).
>   - [03 Jan 03] Fixed bug: when wizard notes, the "send database" did
>     not work.
2005-02-04 22:17:51 +00:00

77 lines
2.6 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2005/02/04 22:17:51 adrianp Exp $
#
DISTNAME= geneweb-4.10
CATEGORIES= databases
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/cristal/geneweb/Src/
MAINTAINER= wulf@NetBSD.org
HOMEPAGE= http://cristal.inria.fr/~ddr/GeneWeb/
COMMENT= GeneWeb is a comprehensive genealogy database application
BUILD_DEPENDS+= ocaml>=3.04:../../lang/ocaml
USE_PKGINSTALL= yes
USE_GNU_TOOLS+= make
RCD_SCRIPTS= geneweb
.if !exists(${LOCALBASE}/bin/ocamlc.opt)
BUILD_TARGET= out
.endif
.include "../../mk/bsd.prefs.mk"
# sysutils/coreutils a 'gwc' program, so conflict with it if
# ${GNU_PROGRAM_PREFIX} == "g"
.if ${GNU_PROGRAM_PREFIX} == "g"
CONFLICTS+= coreutils-[0-9]*
.endif
# Stripped OCAML binaries don't seem to work nolonger
# Installing unstripped binaries until this is fixed
INSTALL_PROGRAM = ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
pre-configure:
if ! ${TEST} -x ${LOCALBASE}/bin/ocamlc.opt; then \
${ECHO} "No optimized ocaml binaries found"; \
cd ${WRKSRC}/tools/; \
${MV} Makefile.inc Makefile.inc.orig; \
${SED} -e "s/\.opt//g" Makefile.inc.orig > Makefile.inc; \
fi
post-build:
cd ${WRKSRC} && ${GMAKE} distrib
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/geneweb
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/geneweb
${INSTALL_DATA_DIR} ${PREFIX}/share/geneweb/etc
${INSTALL_DATA_DIR} ${PREFIX}/share/geneweb/gwtp_tmp
${INSTALL_DATA_DIR} ${PREFIX}/share/geneweb/images
${INSTALL_DATA_DIR} ${PREFIX}/share/geneweb/lang
${INSTALL_DATA_DIR} ${PREFIX}/share/geneweb/setup
cd ${WRKSRC}/distribution/gw && \
${INSTALL_PROGRAM} gwd ${PREFIX}/libexec && \
${INSTALL_PROGRAM} consang ${PREFIX}/bin && \
${INSTALL_PROGRAM} gwc ${PREFIX}/bin && \
${INSTALL_PROGRAM} gwtp_tmp/gwtp ${PREFIX}/bin && \
${INSTALL_PROGRAM} ged2gwb ${PREFIX}/bin && \
${INSTALL_PROGRAM} gwb2ged ${PREFIX}/bin && \
${INSTALL_PROGRAM} gwsetup ${PREFIX}/sbin && \
${INSTALL_PROGRAM} gwu ${PREFIX}/bin && \
${CP} -Rp doc/* ${PREFIX}/share/doc/geneweb && \
${CP} -Rp etc ${PREFIX}/share/geneweb && \
${CP} -Rp gwtp_tmp ${PREFIX}/share/geneweb && \
${CP} -Rp images ${PREFIX}/share/geneweb && \
${CP} -Rp lang ${PREFIX}/share/geneweb && \
${CP} -Rp setup ${PREFIX}/share/geneweb && \
${INSTALL_DATA} a.gwf ${PREFIX}/share/examples/geneweb && \
${INSTALL_DATA} only.txt ${PREFIX}/share/examples/geneweb
${TOUCH} ${PREFIX}/share/geneweb/gwtp_tmp/passwd
${TOUCH} ${PREFIX}/share/geneweb/gwtp_tmp/gwtp.log
${CHMOD} 600 ${PREFIX}/share/geneweb/gwtp_tmp/passwd
${CHMOD} 600 ${PREFIX}/share/geneweb/gwtp_tmp/gwtp.log
${CHOWN} -R nobody.${ROOT_GROUP} ${PREFIX}/share/geneweb
.include "../../mk/bsd.pkg.mk"