1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/textproc/xml_ez_out/Makefile
Gerald Pfeifer c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00

55 lines
1.5 KiB
Makefile

# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= xml_ez_out
PORTVERSION= 1.06
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://www.mckae.com/xml_ezout/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for emitting XML from Ada programs
LICENSE= GPLv2 GMGPL
LICENSE_COMB= multi
USES= ada dos2unix tar:tgz
WRKSRC= ${WRKDIR}/xml_ez_out
BUILD_WRKSRC= ${WRKSRC}/mckae
PORTDOCS= README
PORTEXAMPLES= example.gpr tmeztf.adb runme.sh
OPTIONS_DEFINE= DOCS EXAMPLES
post-extract:
@${CP} ${FILESDIR}/xezo_bld.gpr ${WRKSRC}
@${SED} -e "s,@PREFIX@,${LOCALBASE},g" ${FILESDIR}/runme.sh.in \
> ${WRKSRC}/runme.sh
do-build:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -p -Pxezo_bld)
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
${STAGEDIR}${PREFIX}/lib/xml_ez_out \
${STAGEDIR}${PREFIX}/include/xml_ez_out
${INSTALL_DATA} ${FILESDIR}/xml_ez_out.gpr \
${STAGEDIR}${PREFIX}/lib/gnat
${INSTALL_DATA} ${BUILD_WRKSRC}/mckae* \
${STAGEDIR}${PREFIX}/include/xml_ez_out
${INSTALL_DATA} ${WRKSRC}/lib/* \
${STAGEDIR}${PREFIX}/lib/xml_ez_out
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${BUILD_WRKSRC}/README ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/runme.sh ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${BUILD_WRKSRC}/tmeztf.adb \
${FILESDIR}/example.gpr ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>