summaryrefslogtreecommitdiffstats
path: root/textproc/markdown/Makefile
blob: 170741971fe6f25b130a78ae4ce485a25c68b017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Anton Berezin <tobez@FreeBSD.org>
# $FreeBSD$

PORTNAME=	markdown
PORTVERSION=	1.0.1
PORTREVISION=	2
CATEGORIES=	textproc perl5
MASTER_SITES=	http://daringfireball.net/projects/downloads/
DISTNAME=	Markdown_${PORTVERSION}

MAINTAINER=	tobez@FreeBSD.org
COMMENT=	A text-to-HTML conversion tool for web writers

USE_ZIP=	yes
USE_PERL5=	yes
NO_BUILD=	yes
USES=		shebangfix
SHEBANG_FILES=	Markdown.pl

.if !defined(NOPORTDOCS)
PORTDOCS=	License.text Markdown-Readme.text
.endif

PLIST_FILES=	bin/markdown

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/Markdown.pl ${PREFIX}/bin/markdown
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} "${WRKSRC}/License.text" ${DOCSDIR}/License.text
	${INSTALL_DATA} "${WRKSRC}/Markdown Readme.text" ${DOCSDIR}/Markdown-Readme.text
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud