mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
e213fa368b
PR: ports/134191 Submitted by: pgj Approved by: maintainer, tabthorpe (mentor)
49 lines
1.0 KiB
Makefile
49 lines
1.0 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: lhs2TeX
|
|
# Date created: April 24, 2007
|
|
# Whom: mainland@apeiron.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lhs2tex
|
|
PORTVERSION= 1.14
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel haskell
|
|
MASTER_SITES= http://people.cs.uu.nl/andres/${PORTNAME}/
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
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>
|
|
|
|
INSTALL_TARGET= install
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
INSTALL_TARGET+= install-doc
|
|
.endif
|
|
|
|
.if !defined(NOPORTDATA)
|
|
INSTALL_TARGET+= install-data
|
|
.endif
|
|
|
|
MAN1= lhs2TeX.1
|
|
|
|
.include <bsd.port.post.mk>
|