Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 08:11:44 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340571 - head/textproc/markdown
Message-ID:  <201401210811.s0L8BimK054045@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Jan 21 08:11:44 2014
New Revision: 340571
URL: http://svnweb.freebsd.org/changeset/ports/340571
QAT: https://qat.redports.org/buildarchive/r340571/

Log:
  * Convert to staging
  * Add license
  
  Sponsored by:	Absolight

Modified:
  head/textproc/markdown/Makefile

Modified: head/textproc/markdown/Makefile
==============================================================================
--- head/textproc/markdown/Makefile	Tue Jan 21 08:11:38 2014	(r340570)
+++ head/textproc/markdown/Makefile	Tue Jan 21 08:11:44 2014	(r340571)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401210811.s0L8BimK054045>