2012-12-13 06:51:34 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2012/12/13 11:51:34 chrisz Exp $
|
2001-05-06 00:11:38 -04:00
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= LaTeX to html translator
|
2000-05-19 05:59:37 -04:00
|
|
|
|
|
|
|
CATEGORIES= textproc print
|
|
|
|
|
|
|
|
# Q Licence 1.0 + LGPL for parts of the runtime
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2012-12-13 06:51:34 -05:00
|
|
|
WANTLIB= c m
|
2000-05-19 05:59:37 -04:00
|
|
|
|
2012-12-13 06:51:34 -05:00
|
|
|
DISTNAME = hevea-2.00
|
2012-08-18 18:47:00 -04:00
|
|
|
MASTER_SITES = http://para.inria.fr/~maranget/hevea/distri/
|
2000-05-19 05:59:37 -04:00
|
|
|
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-manual${EXTRACT_SUFX}
|
|
|
|
|
2000-10-09 20:40:20 -04:00
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
2000-05-19 05:59:37 -04:00
|
|
|
HOMEPAGE= http://para.inria.fr/%7Emaranget/hevea/
|
|
|
|
|
2012-08-18 18:47:00 -04:00
|
|
|
NO_REGRESS = Yes
|
2000-05-19 05:59:37 -04:00
|
|
|
|
2012-08-04 12:30:04 -04:00
|
|
|
MODULES += lang/ocaml
|
2002-09-30 11:48:27 -04:00
|
|
|
|
2012-08-18 18:47:00 -04:00
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
.if ${PROPERTIES:Mocaml_native}
|
|
|
|
MAKE_FLAGS += TARGET=opt
|
|
|
|
FAKE_FLAGS += TARGET=opt
|
|
|
|
.else
|
|
|
|
MAKE_FLAGS += TARGET=byte
|
|
|
|
FAKE_FLAGS += TARGET=byte
|
|
|
|
.endif
|
|
|
|
|
2000-05-19 05:59:37 -04:00
|
|
|
# Beware! this works only because the manual is flat
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hevea
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}-manual/* ${PREFIX}/share/doc/hevea
|
2002-09-30 11:48:27 -04:00
|
|
|
|
2012-08-04 12:30:04 -04:00
|
|
|
|
2012-08-18 18:47:00 -04:00
|
|
|
.include <bsd.port.mk>
|