1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/www/geneweb/Makefile
Antoine Brodin 6de6211422 Mark a few ports BROKEN
Reported by:	pkg-fallout
2015-05-30 09:51:35 +00:00

50 lines
1.3 KiB
Makefile

# Created by: Hubert Tournier <hubert@frbsd.org>
# $FreeBSD$
PORTNAME= geneweb
PORTVERSION= 6.07
CATEGORIES= www
MASTER_SITES= http://opensource.geneanet.org/attachments/download/240/
DISTNAME= gw-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= alex@stangl.us
COMMENT= Advanced genealogy software
LICENSE= GPLv2
BROKEN= Fails to build
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
camlp5:${PORTSDIR}/devel/ocaml-camlp5
HAS_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= GTK2
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGTK2}
BUILD_DEPENDS+= ocaml-lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
MAKE_ENV+= ENABLE_GUI=yes
PLIST_SUB+= GUI=""
.else
PLIST_SUB+= GUI="@comment "
.endif
MAKE_ENV+= STAGEDIR=${STAGEDIR}
SUB_FILES+= pkg-message
USE_RC_SUBR= gwd
post-install:
(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} distrib)
@${INSTALL_DATA} ${WRKSRC}/etc/a.gwf ${STAGEDIR}${PREFIX}/share/geneweb
@${MKDIR} ${STAGEDIR}${PREFIX}/share/geneweb/distribution
@${CP} -a ${WRKSRC}/distribution ${STAGEDIR}${PREFIX}/share/geneweb/
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gwc1
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/geneweb/distribution/gw/gwc1
@${INSTALL_SCRIPT} ${FILESDIR}/install.sh ${STAGEDIR}${PREFIX}/share/geneweb
.include <bsd.port.mk>