mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
98ae1eaf36
As usual, it is recommended to rebuild or reinstall all the dependent ports and the lang/ghc port itself in one of the following ways: # portmaster -w -r ghc or # portupgrade -fr lang/ghc In case of pkg(8), it is probably safer to remove all the GHC-dependent packages along with GHC and reinstall everything from scratch. For example: # pkg query "%ro" ghc > ghc-pkgs.txt # pkg delete -y lang/ghc In ghc-pkgs.txt, check and remove all the packages that have been moved on the update, then use this command: # pkg install -y `cat ghc-pkgs.txt` Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D16038
61 lines
1.5 KiB
Makefile
61 lines
1.5 KiB
Makefile
# Created by: John MacFarlane <jgm@berkeley.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pandoc
|
|
PORTVERSION= 2.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc haskell
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= Conversion between markup formats
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_CABAL= Glob aeson aeson-pretty base64-bytestring blaze-html \
|
|
blaze-markup cmark cmark-gfm data-default \
|
|
deepseq-generics doctemplates extensible-exceptions \
|
|
filemanip haddock-library \
|
|
hslua hslua-module-text HTTP JuicyPixels mtl \
|
|
network network-uri pandoc-types \
|
|
random scientific SHA skylighting syb tagsoup\
|
|
temporary texmath \
|
|
unordered-containers vector xml \
|
|
yaml zip-archive zlib
|
|
|
|
USE_ALEX= yes
|
|
USE_HAPPY= yes
|
|
|
|
EXECUTABLE= pandoc
|
|
|
|
MAN1SRC= man
|
|
MAN1PAGES= pandoc.1
|
|
|
|
OPTIONS_DEFINE= PDFGEN
|
|
OPTIONS_DEFAULT= PDFGEN
|
|
|
|
PDFGEN_DESC= Include TeX for PDF generation
|
|
PDFGEN_USE= TEX=texmf:run
|
|
|
|
FLAGS_DEFINE= EMBED_DATA HTTPS TRYPANDOC
|
|
FLAGS_DEFAULT= HTTPS
|
|
|
|
EMBED_DATA_DESC= Embed data files in binary for relocatable executable
|
|
EMBED_DATA_FLAG_ENABLE= embed_data_files
|
|
EMBED_DATA_FLAG_CABAL= hsb2hs>=0.3.1
|
|
|
|
HTTPS_DESC= Enable downloading of resources over HTTPS
|
|
HTTPS_FLAG_ENABLE= https
|
|
HTTPS_FLAG_CABAL= http-client>=0.3.2 http-client-tls>=0.2 http-types>=0.8
|
|
|
|
TRYPANDOC_DESC= Build trypandoc cgi executable
|
|
TRYPANDOC_FLAG_ENABLE= trypandoc
|
|
TRYPANDOC_FLAG_CABAL= aeson wai-extra wai>=0.3 \
|
|
http-types
|
|
TRYPANDOC_FLAG_EXECUTABLE= trypandoc
|
|
|
|
FLAGS_ENABLE= network-uri
|
|
FLAGS_DISABLE= make-pandoc-man-pages
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
|
.include <bsd.port.mk>
|