aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/markdown/Makefile
blob: 43637eca0c9aee300a7f3f958451218bd729226c (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
34
# Created by: Anton Berezin <tobez@FreeBSD.org>
# $FreeBSD$

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>