git.iko.soy/typeable/pandoc
on 1.0 help sign in
46 lines 1.2 kB history raw
1# New ports collection makefile for: pandoc
2# Date created: 9 February 2007
3# Whom: John MacFarlane <jgm@berkeley.edu>
4#
5# $FreeBSD: ports/textproc/pandoc/Makefile,v 1.2 2007/05/19 20:24:07 flz Exp $
6#
8PORTNAME= pandoc
9PORTVERSION= @VERSION@
10CATEGORIES= textproc haskell
11MASTER_SITES= http://pandoc.googlecode.com/files/
13MAINTAINER= jgm@berkeley.edu
14COMMENT= A general markup converter
16BUILD_DEPENDS= ghc>=6.6:${PORTSDIR}/lang/ghc
18MANCOMPRESSED= no
19MAN1= pandoc.1 markdown2pdf.1 html2markdown.1 hsmarkdown.1
21USE_GMAKE= yes
22USE_PERL5= yes
24PLIST_FILES= bin/pandoc bin/markdown2pdf bin/html2markdown bin/hsmarkdown
25PORTDOCS= BUGS README README.html
26SCRIPTS= markdown2pdf hsmarkdown html2markdown
28do-install:
29 @${INSTALL_PROGRAM} ${WRKSRC}/dist/build/pandoc/pandoc ${PREFIX}/bin
30.for f in ${DATA_FILES}
31 @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
32.endfor
33.for script in ${SCRIPTS}
34 @${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin
35.endfor
36.for man in ${MAN1}
37 @${INSTALL_MAN} ${WRKSRC}/man/man1/${man} ${PREFIX}/man/man1
38.endfor
39.if !defined(NOPORTDOCS)
40 @${MKDIR} ${DOCSDIR}
41.for doc in ${PORTDOCS}
42 @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
43.endfor
44.endif
46.include <bsd.port.mk>