Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2016 11:13:35 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405419 - head/print/py-rtf
Message-ID:  <201601071113.u07BDZWh060780@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Jan  7 11:13:35 2016
New Revision: 405419
URL: https://svnweb.freebsd.org/changeset/ports/405419

Log:
  - Add LICENSE
  - Convert to options helper
  - Add NO_ARCH

Modified:
  head/print/py-rtf/Makefile

Modified: head/print/py-rtf/Makefile
==============================================================================
--- head/print/py-rtf/Makefile	Thu Jan  7 11:12:51 2016	(r405418)
+++ head/print/py-rtf/Makefile	Thu Jan  7 11:13:35 2016	(r405419)
@@ -11,13 +11,17 @@ DISTNAME=	PyRTF-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library to create RTF documents using the Python language
 
+LICENSE=	GPLv1
+
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
 
-EXAMPLESDIR=	${PREFIX}/share/examples/py-rtf
 PORTEXAMPLES=	*
 
-post-install:
+OPTIONS_DEFINE=	EXAMPLES
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 



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