1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/textproc/markdown/Makefile
Mathieu Arnold 5704a39abe * Convert to staging
* Add license

Sponsored by:	Absolight
2014-01-21 08:11:44 +00:00

34 lines
779 B
Makefile

# 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
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/License.text
USE_ZIP= yes
NO_BUILD= yes
USES= shebangfix perl5
SHEBANG_FILES= Markdown.pl
OPTIONS_DEFINE= DOCS
PORTDOCS= Markdown-Readme.text
PLIST_FILES= bin/markdown
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>