51 lines
1.8 KiB
Makefile
51 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2018/11/12 16:10:24 jaapb Exp $
|
|
#
|
|
|
|
DISTNAME= boomerang-0.2-source
|
|
PKGNAME= ${DISTNAME:S/-source//}
|
|
PKGREVISION= 15
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.seas.upenn.edu/~harmony/download/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.seas.upenn.edu/~harmony/
|
|
COMMENT= Bidirectional programming language for ad-hoc, textual data
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
BUILD_DEPENDS+= omake-[0-9]*:../../devel/omake
|
|
# for pdflatex
|
|
BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
|
|
BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
|
|
BUILD_DEPENDS+= tex-pgf-[0-9]*:../../print/tex-pgf
|
|
BUILD_DEPENDS+= tex-ms-[0-9]*:../../print/tex-ms
|
|
BUILD_DEPENDS+= tex-amscls-[0-9]*:../../print/tex-amscls
|
|
BUILD_DEPENDS+= tex-preprint-[0-9]*:../../print/tex-preprint
|
|
BUILD_DEPENDS+= tex-natbib-[0-9]*:../../print/tex-natbib
|
|
BUILD_DEPENDS+= tex-psnfss-[0-9]*:../../fonts/tex-psnfss
|
|
BUILD_DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
|
|
|
|
WRKSRC= ${WRKDIR}/boomerang-20090902
|
|
USE_LANGUAGES= c
|
|
INSTALLATION_DIRS= bin share/doc/boomerang share/examples/boomerang/xsugar
|
|
INSTALLATION_DIRS+= share/examples/boomerang/units
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && omake
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_PROGRAM} bin/boomerang ${DESTDIR}${PREFIX}/bin; \
|
|
${INSTALL_DATA} doc/main.pdf \
|
|
${DESTDIR}${PREFIX}/share/doc/boomerang; \
|
|
${INSTALL_DATA} examples/*.* \
|
|
${DESTDIR}${PREFIX}/share/examples/boomerang; \
|
|
${INSTALL_DATA} examples/OMakefile \
|
|
${DESTDIR}${PREFIX}/share/examples/boomerang; \
|
|
${INSTALL_DATA} examples/units/*.* \
|
|
${DESTDIR}${PREFIX}/share/examples/boomerang/units; \
|
|
${INSTALL_DATA} examples/xsugar/*.* \
|
|
${DESTDIR}${PREFIX}/share/examples/boomerang/xsugar
|
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
.include "../../math/ocaml-num/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|