2003-01-09 07:04:05 +01:00
|
|
|
# New ports collection makefile for: ocaml yaxpo
|
|
|
|
# Date created: Thu Jan 9 05:25:48 UTC 2003
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= yaxpo
|
|
|
|
PORTVERSION= 0.0.${DATE_VERSION}
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2003-01-09 07:04:05 +01:00
|
|
|
CATEGORIES= textproc
|
2005-11-28 19:14:48 +01:00
|
|
|
MASTER_SITES= http://compbio.mit.edu/mikelin/yaxpo/
|
2003-01-09 07:04:05 +01:00
|
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
DISTNAME= yaxpo
|
|
|
|
|
2008-11-30 05:21:07 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= Non-validating XML 1.0 + XMLNS processing suite for Objective Caml
|
2003-01-09 07:04:05 +01:00
|
|
|
|
2009-03-26 05:00:36 +01:00
|
|
|
USE_OCAML= yes
|
2003-01-09 07:04:05 +01:00
|
|
|
ALL_TARGET= yaxpo
|
2009-03-26 04:33:51 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2003-01-09 07:04:05 +01:00
|
|
|
|
2005-11-28 19:14:48 +01:00
|
|
|
DATE_VERSION= 20050614
|
2003-01-09 07:04:05 +01:00
|
|
|
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
ALL_TARGET+= doc
|
2005-11-28 19:14:48 +01:00
|
|
|
|
|
|
|
PORTDOCS= *
|
2003-01-09 07:04:05 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
# PREFIX safeness
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|^(INSTALLDIR).*$$|\1=${PREFIX}/lib/ocaml|' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
# in pre-install to make sure we're using the correct user:group
|
|
|
|
# combo
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|cp -f |${INSTALL_DATA} |' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
# create installation dir
|
|
|
|
@${MKDIR} ${PREFIX}/lib/ocaml
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|