aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/galax/Makefile
blob: 56aab4415be4abb85ac2a31abf206083cfaaffc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    galax
# Date created:             17 November 2002
# Whom:                 Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
#
# $FreeBSD$
#

PORTNAME=   galax
PORTVERSION=    0.3.0
CATEGORIES= textproc
MASTER_SITES=   http://db.bell-labs.com/galax/Downloads/

MAINTAINER= stolz@i2.informatik.rwth-aachen.de
COMMENT=    Galax is a full-featured, fully compliant implementation of XQuery

BUILD_DEPENDS=  ocaml:${PORTSDIR}/lang/ocaml

WRKSRC=     ${WRKDIR}/galax

USE_GMAKE=  yes
ALL_TARGET= world
MAKE_ENV=   PREFIX=${PREFIX} JAVA_HOME=${JAVE_HOME}

PLIST_SUB=  GALAX=Galax-${PORTVERSION}

pre-patch:
    ${SED} s,%%GALAXHOME%%,'$(PREFIX)/Galax-${PORTVERSION}', ${FILESDIR}/Makefile >${WRKSRC}/config/Makefile

post-install:
    @${SED} 's,PREFIX,${PREFIX},; s,GALAX,Galax-${PORTVERSION},' ${PKGMESSAGE}

.include <bsd.port.mk>