freebsd-ports/textproc/ocaml-yaxpo/Makefile
Mario Sergio Fujikawa Ferreira 5bb578428d Remove deprecated USE_SIZE
2004-12-25 11:43:58 +00:00

51 lines
1.1 KiB
Makefile

# 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}
CATEGORIES= textproc
MASTER_SITES= http://mikelin.mit.edu/yaxpo/
PKGNAMEPREFIX= ocaml-
DISTNAME= yaxpo
MAINTAINER= lioux@FreeBSD.org
COMMENT= Non-validating XML 1.0 + XMLNS processing suite for Objective Caml
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
USE_REINPLACE= yes
ALL_TARGET= yaxpo
DATE_VERSION= 20020816
.ifndef(NOPORTDOCS)
ALL_TARGET+= doc
.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>