diff options
author | mat <mat@FreeBSD.org> | 2014-01-21 16:11:44 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-01-21 16:11:44 +0800 |
commit | 9064070020b58d1984b1cf2864fe2028b89d889e (patch) | |
tree | 45bbfaf098539b8f9752aa7a3ac988aedbdd4d7a /textproc/markdown | |
parent | 1a15fbbeb0324a3cef5904bd35a89b0c1b4985c9 (diff) | |
download | freebsd-ports-gnome-9064070020b58d1984b1cf2864fe2028b89d889e.tar.gz freebsd-ports-gnome-9064070020b58d1984b1cf2864fe2028b89d889e.tar.zst freebsd-ports-gnome-9064070020b58d1984b1cf2864fe2028b89d889e.zip |
* Convert to staging
* Add license
Sponsored by: Absolight
Diffstat (limited to 'textproc/markdown')
-rw-r--r-- | textproc/markdown/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/textproc/markdown/Makefile b/textproc/markdown/Makefile index 50d370f46d83..da906caa7a7e 100644 --- a/textproc/markdown/Makefile +++ b/textproc/markdown/Makefile @@ -11,24 +11,23 @@ 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 -.if !defined(NOPORTDOCS) -PORTDOCS= License.text Markdown-Readme.text -.endif +OPTIONS_DEFINE= DOCS + +PORTDOCS= Markdown-Readme.text PLIST_FILES= bin/markdown -NO_STAGE= yes 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 + ${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> |