1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/textproc/markdown/Makefile
Anton Berezin 5e9ae8e7d9 Drop support for perl 5.8.
Nudged by:	az
2012-12-18 11:34:36 +00:00

36 lines
851 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
USE_ZIP= yes
USE_PERL5= yes
NO_BUILD= yes
.if !defined(NOPORTDOCS)
PORTDOCS= License.text Markdown-Readme.text
.endif
PLIST_FILES= bin/markdown
post-patch:
${PERL} -pi -e "s#/usr/bin/perl#${PERL}#" ${WRKSRC}/Markdown.pl
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>