aboutsummaryrefslogtreecommitdiff
path: root/textproc/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/markdown')
-rw-r--r--textproc/markdown/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/textproc/markdown/Makefile b/textproc/markdown/Makefile
index cd3bbcfe3862..170741971fe6 100644
--- a/textproc/markdown/Makefile
+++ b/textproc/markdown/Makefile
@@ -14,6 +14,8 @@ COMMENT= A text-to-HTML conversion tool for web writers
USE_ZIP= yes
USE_PERL5= yes
NO_BUILD= yes
+USES= shebangfix
+SHEBANG_FILES= Markdown.pl
.if !defined(NOPORTDOCS)
PORTDOCS= License.text Markdown-Readme.text
@@ -21,9 +23,6 @@ PORTDOCS= License.text Markdown-Readme.text
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)