aboutsummaryrefslogtreecommitdiff
path: root/textproc/markdown/Makefile
blob: 4cea535a58f6d4ebcf988dea007782cc67a8d963 (plain) (blame)
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
# Created by: Anton Berezin <tobez@FreeBSD.org>

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

MAINTAINER=	miguel@gocobachi.dev
COMMENT=	Text-to-HTML conversion tool for web writers

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/License.text

NO_BUILD=	yes
USES=		shebangfix perl5 zip
SHEBANG_FILES=	Markdown.pl

OPTIONS_DEFINE=	DOCS

PORTDOCS=	Markdown-Readme.text

PLIST_FILES=	bin/markdown

CONFLICTS_INSTALL=	discount

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/Markdown.pl ${STAGEDIR}${PREFIX}/bin/markdown
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} "${WRKSRC}/Markdown Readme.text" ${STAGEDIR}${DOCSDIR}/Markdown-Readme.text

.include <bsd.port.mk>