Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2017 15:09:04 +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: r438702 - head/devel/py-kid
Message-ID:  <201704171509.v3HF94Ru058404@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Mon Apr 17 15:09:04 2017
New Revision: 438702
URL: https://svnweb.freebsd.org/changeset/ports/438702

Log:
  - Switch to options helper
  - Added NO_ARCH
  - Fix shebangs

Modified:
  head/devel/py-kid/Makefile

Modified: head/devel/py-kid/Makefile
==============================================================================
--- head/devel/py-kid/Makefile	Mon Apr 17 15:07:31 2017	(r438701)
+++ head/devel/py-kid/Makefile	Mon Apr 17 15:09:04 2017	(r438702)
@@ -3,7 +3,7 @@
 
 PORTNAME=	kid
 PORTVERSION=	0.9.6
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel python
 MASTER_SITES=	http://www.kid-templating.org/dist/${PORTVERSION}/ \
 		http://nivi.interfree.it/distfiles/${PORTNAME}/
@@ -12,15 +12,19 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	Simple template language for XML based written in Python
 
-USES=		python
+USES=		python shebangfix
 USE_PYTHON=	distutils autoplist
+SHEBANG_FILES=	misc/upgrade-0.6.py
 
+OPTIONS_DEFINE=	DOCS
+
+NO_ARCH=	yes
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-post-install:
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} ; ${CP} README HISTORY COPYING misc/* ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}



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