mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: pandoc
|
|
# Date created: 9 February 2007
|
|
# Whom: John MacFarlane <jgm@berkeley.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pandoc
|
|
PORTVERSION= 0.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc haskell
|
|
MASTER_SITES= http://pandoc.googlecode.com/files/
|
|
DISTNAME= pandoc-${PORTVERSION}
|
|
|
|
MAINTAINER= jgm@berkeley.edu
|
|
COMMENT= A general markup converter
|
|
|
|
BUILD_DEPENDS= ghc>=6.4:${PORTSDIR}/lang/ghc
|
|
|
|
MANCOMPRESSED= no
|
|
MAN1= pandoc.1 markdown2pdf.1 html2markdown.1 hsmarkdown.1
|
|
|
|
USE_GMAKE= yes
|
|
USE_PERL5= yes
|
|
|
|
PLIST_FILES= bin/pandoc bin/markdown2pdf bin/html2markdown bin/hsmarkdown
|
|
PORTDOCS= BUGS README README.html
|
|
SCRIPTS= hsmarkdown html2markdown markdown2pdf
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/dist/build/pandoc/pandoc ${PREFIX}/bin
|
|
.for script in ${SCRIPTS}
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin
|
|
.endfor
|
|
.for man in ${MAN1}
|
|
@${INSTALL_MAN} ${WRKSRC}/man/man1/${man} ${PREFIX}/man/man1
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for doc in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|