2006-04-06 08:21:32 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2006/04/06 06:21:41 reed Exp $
|
2000-07-25 15:02:07 +02:00
|
|
|
#
|
|
|
|
|
- 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 23:17:51 +01:00
|
|
|
DISTNAME= geneweb-4.10
|
2006-03-09 11:35:49 +01:00
|
|
|
PKGREVISION= 3
|
2005-05-29 09:45:32 +02:00
|
|
|
CATEGORIES= databases
|
2000-07-25 15:02:07 +02:00
|
|
|
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/cristal/geneweb/Src/
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= wulf@NetBSD.org
|
2000-07-25 15:02:07 +02:00
|
|
|
HOMEPAGE= http://cristal.inria.fr/~ddr/GeneWeb/
|
2001-02-16 15:17:22 +01:00
|
|
|
COMMENT= GeneWeb is a comprehensive genealogy database application
|
2000-07-25 15:02:07 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}nb1
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2000-07-25 15:02:07 +02:00
|
|
|
|
2003-01-19 13:34:45 +01:00
|
|
|
RCD_SCRIPTS= geneweb
|
|
|
|
|
2000-07-25 15:02:07 +02:00
|
|
|
.if !exists(${LOCALBASE}/bin/ocamlc.opt)
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= out
|
2000-07-25 15:02:07 +02:00
|
|
|
.endif
|
|
|
|
|
2004-03-07 12:32:44 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2006-03-09 11:35:49 +01:00
|
|
|
# needed for patch-ab to work:
|
|
|
|
# since 3.09.0, camlp4 uses _loc instead of loc
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.09.0
|
2006-03-09 11:35:49 +01:00
|
|
|
|
2004-03-07 12:32:44 +01:00
|
|
|
# sysutils/coreutils a 'gwc' program, so conflict with it if
|
|
|
|
# ${GNU_PROGRAM_PREFIX} == "g"
|
|
|
|
.if ${GNU_PROGRAM_PREFIX} == "g"
|
|
|
|
CONFLICTS+= coreutils-[0-9]*
|
|
|
|
.endif
|
|
|
|
|
2003-01-02 10:34:50 +01:00
|
|
|
# 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}
|
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin libexec sbin
|
|
|
|
|
2000-07-25 15:02:07 +02:00
|
|
|
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:
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/geneweb
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/geneweb
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/geneweb/etc
|
2001-07-15 17:34:57 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/geneweb/gwtp_tmp
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/geneweb/images
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/geneweb/lang
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/geneweb/setup
|
2000-07-25 15:02:07 +02:00
|
|
|
cd ${WRKSRC}/distribution/gw && \
|
|
|
|
${INSTALL_PROGRAM} gwd ${PREFIX}/libexec && \
|
|
|
|
${INSTALL_PROGRAM} consang ${PREFIX}/bin && \
|
|
|
|
${INSTALL_PROGRAM} gwc ${PREFIX}/bin && \
|
2001-07-15 17:34:57 +02:00
|
|
|
${INSTALL_PROGRAM} gwtp_tmp/gwtp ${PREFIX}/bin && \
|
2000-07-25 15:02:07 +02:00
|
|
|
${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 && \
|
2001-07-15 17:34:57 +02:00
|
|
|
${CP} -Rp gwtp_tmp ${PREFIX}/share/geneweb && \
|
2000-07-25 15:02:07 +02:00
|
|
|
${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
|
2001-07-15 17:34:57 +02:00
|
|
|
${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
|
2001-12-05 17:03:56 +01:00
|
|
|
${CHOWN} -R nobody.${ROOT_GROUP} ${PREFIX}/share/geneweb
|
2000-07-25 15:02:07 +02:00
|
|
|
|
2005-04-05 13:07:35 +02:00
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
2000-07-25 15:02:07 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|