svn commit: r335564 - head/devel/mercurial

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Dec 3 12:16:01 UTC 2013


Author: sunpoet
Date: Tue Dec  3 12:16:00 2013
New Revision: 335564
URL: http://svnweb.freebsd.org/changeset/ports/335564

Log:
  - Fix shebang
  - Strip shared library
  - Bump PORTREVISION for package change
  
  PR:		ports/184456
  Submitted by:	mandree

Modified:
  head/devel/mercurial/Makefile

Modified: head/devel/mercurial/Makefile
==============================================================================
--- head/devel/mercurial/Makefile	Tue Dec  3 12:15:56 2013	(r335563)
+++ head/devel/mercurial/Makefile	Tue Dec  3 12:16:00 2013	(r335564)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mercurial
 PORTVERSION=	2.8.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	http://mercurial.selenic.com/release/
 
@@ -13,6 +14,7 @@ LICENSE=	GPLv2
 
 USE_PYTHON=	-2.7
 USE_PYDISTUTILS=yes
+USES=		shebangfix
 
 OPTIONS_DEFINE=	CA_BUNDLE DATA DOCS NLS
 OPTIONS_DEFAULT=DATA
@@ -55,6 +57,8 @@ CONTRIB_FILES=	bash_completion \
 		vim/patchreview.vim
 DOCS=		CONTRIBUTORS README
 
+SHEBANG_FILES=	contrib/tmplrewrite.py
+
 CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
 NLS_USES=		gettext
 
@@ -71,6 +75,7 @@ EXTRA_PATCHES+=	${FILESDIR}/extra-patch-
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/man/man1/
 	${INSTALL_MAN} ${WRKSRC}/doc/*.5 ${STAGEDIR}${PREFIX}/man/man5/
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/*.so
 .if ${PORT_OPTIONS:MDATA}
 	${MKDIR} ${STAGEDIR}${DATADIR}
 	${MKDIR} ${STAGEDIR}${DATADIR}/contrib


More information about the svn-ports-head mailing list