# Created by: Anton Berezin # $FreeBSD: head/textproc/markdown/Makefile 541292 2020-07-05 16:47:57Z tcberner $ 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