Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 19:12:20 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437076 - head/textproc/py-docutils
Message-ID:  <201703271912.v2RJCKck039939@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Mar 27 19:12:20 2017
New Revision: 437076
URL: https://svnweb.freebsd.org/changeset/ports/437076

Log:
  Clean up Makefile
  
  - Remove SF from MASTER_SITES
  - Sort USE_PYTHON
  - Fix indent
  - Cosmetic change

Modified:
  head/textproc/py-docutils/Makefile

Modified: head/textproc/py-docutils/Makefile
==============================================================================
--- head/textproc/py-docutils/Makefile	Mon Mar 27 19:12:16 2017	(r437075)
+++ head/textproc/py-docutils/Makefile	Mon Mar 27 19:12:20 2017	(r437076)
@@ -4,8 +4,7 @@
 PORTNAME=	docutils
 PORTVERSION=	0.13.1
 CATEGORIES=	textproc python
-MASTER_SITES=	SF \
-		CHEESESHOP
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	python@FreeBSD.org
@@ -14,21 +13,20 @@ COMMENT=	Python Documentation Utilities
 LICENSE=	BSD2CLAUSE GPLv3+ PD PSFL
 LICENSE_COMB=	multi
 
-USES=	python
-USE_PYTHON=	distutils concurrent autoplist
 NO_ARCH=	yes
+USE_PYTHON=	autoplist concurrent distutils
+USES=		python
 
 OPTIONS_DEFINE=	PYGMENTS
-PYGMENTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments
 PYGMENTS_DESC=	Syntax highlighting
+PYGMENTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments
 
-BIN_SCRIPTS=	rst2html.py rst2s5.py rst2latex.py rst2xetex.py \
-	rst2man.py rst2xml.py rst2pseudoxml.py rstpep2html.py \
-	rst2odt.py rst2odt_prepstyles.py
+SCRIPTS=	rst2html rst2latex rst2man rst2odt rst2odt_prepstyles \
+		rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html
 
 post-install:
-.for script in ${BIN_SCRIPTS}
-	@cd ${STAGEDIR}${PREFIX}/bin && ${LN} -sf ${script} ${script:C/\.py//}
+.for script in ${SCRIPTS}
+	${LN} -s ${script}.py ${STAGEDIR}${PREFIX}/bin/${script}
 .endfor
 
 .include <bsd.port.mk>



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