mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
59ee3fe4cb
PR: ports/132338 Submitted by: pgj Approved by: gabor
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= 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>
|
|
|
|
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>
|