mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
05ba8201ec
- Improve PORTDOCS and PORTDATA - Fix the dependency problem (add utf8-string) PR: ports/131494 Submitted by: pgj Approved by: maintainer timeout, tabthorpe
44 lines
972 B
Makefile
44 lines
972 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: lhs2TeX
|
|
# Date created: April 24, 2007
|
|
# Whom: mainland@apeiron.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lhs2tex
|
|
PORTVERSION= 1.14
|
|
CATEGORIES= devel haskell
|
|
MASTER_SITES= http://people.cs.uu.nl/andres/${PORTNAME}/
|
|
|
|
MAINTAINER= mainland@apeiron.net
|
|
COMMENT= A preprocessor to generate LaTeX code from literate Haskell sources
|
|
|
|
BUILD_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc \
|
|
mktexlsr:${PORTSDIR}/print/teTeX-base \
|
|
hs-utf8-string-ghc>=0.3:${PORTSDIR}/devel/hs-utf8-string-ghc
|
|
|
|
USE_GMAKE= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
--datadir=${PREFIX}/share \
|
|
--docdir=${DOCSDIR} \
|
|
--mandir=${MANPREFIX}/man
|
|
|
|
DOCSDIR=${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
|
|
PORTDOCS= *
|
|
DATADIR=${PREFIX}/share/${PORTNAME}-${PORTVERSION}
|
|
PORTDATA= *
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(NOPORTDOCS)
|
|
INSTALL_TARGET=install
|
|
.else
|
|
INSTALL_TARGET=install install-doc
|
|
.endif
|
|
|
|
MAN1= lhs2TeX.1
|
|
|
|
.include <bsd.port.post.mk>
|