aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ocaml-pxp/Makefile
blob: bead0141b9414c5d42664a7e40af02ed05c0d869 (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
33
34
35
# New ports collection makefile for:   ocaml-pxp
# Date created:        29 March 2003
# Whom:                Stephane Legrand <stephane@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   pxp
PORTVERSION=    1.1.5
CATEGORIES= textproc
MASTER_SITES=   http://www.ocaml-programming.de/packages/
PKGNAMEPREFIX=  ocaml-
DISTNAME=   ${PORTNAME}-${PORTVERSION}

MAINTAINER= stephane@freebsd.org
COMMENT=    Validating XML parser for OCaml

BUILD_DEPENDS=  ocamlc:${PORTSDIR}/lang/ocaml \
        ocamlfind:${PORTSDIR}/devel/ocaml-findlib \
        ${LOCALBASE}/lib/ocaml/site-lib/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre \
        ${LOCALBASE}/lib/ocaml/site-lib/netstring/netstring.a:${PORTSDIR}/www/ocaml-net

USE_GMAKE=  yes

HAS_CONFIGURE=  yes

USE_REINPLACE=  yes

ALL_TARGET= all opt

# to avoid a conflict with PACKAGES in bsd.port.mk
post-extract:
    ${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} ${REINPLACE_CMD} -e 's/PACKAGES/PXP_PACKAGES/'

.include <bsd.port.mk>