Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 15:53:36 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333126 - head/devel/pypersrc
Message-ID:  <201311071553.rA7Fra5m045732@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Nov  7 15:53:36 2013
New Revision: 333126
URL: http://svnweb.freebsd.org/changeset/ports/333126

Log:
  - Convert to USES+=gmake
  - STAGE-clean
  - Fix build with clang
  - Correct MASTER_SITES and WWW line in pkg-descr
  - Take maintainership

Modified:
  head/devel/pypersrc/Makefile
  head/devel/pypersrc/pkg-descr   (contents, props changed)

Modified: head/devel/pypersrc/Makefile
==============================================================================
--- head/devel/pypersrc/Makefile	Thu Nov  7 15:47:48 2013	(r333125)
+++ head/devel/pypersrc/Makefile	Thu Nov  7 15:53:36 2013	(r333126)
@@ -5,10 +5,10 @@ PORTNAME=	pypersrc
 PORTVERSION=	20120106
 PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	ftp://ftp.jimbrooks.org/pypersrc/
+MASTER_SITES=	http://www.jimbrooks.org/software/pypersrc/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	gahr@FreeBSD.org
 COMMENT=	Python/Tkinter based source browser
 
 LICENSE=	GPLv2
@@ -19,27 +19,28 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+USES+=		gmake
 USE_BZIP2=	yes
 USE_PYTHON=	yes
-USE_GMAKE=	yes
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	configure.sh
 MAKE_ENV=	CXX_FLAGS="${CXXFLAGS}"
 
 PLIST_FILES=	bin/pypersrc.py bin/pypersrc2.py bin/pypersrc
 
-NO_STAGE=	yes
 post-patch:
-	@${REINPLACE_CMD} -e \
+	${REINPLACE_CMD} -e \
 		'/INSTALL_DIR/s|=.*|=$$(PREFIX)/bin| ; \
 		 /MAN_DIR/s|\/usr\/local|$$(PREFIX)| ; \
 		 /-O2/s|^|#|' ${WRKSRC}/GNUmakefile
-	@${REINPLACE_CMD} -e \
+	${REINPLACE_CMD} -e \
 		's|/bin/bash|${SH}|g' ${WRKSRC}/configure.sh
+	${REINPLACE_CMD} -e 's|g++|${CXX}|g' ${WRKSRC}/tests/GNUmakefile
+	@${REINPLACE_CMD} -e 's|tolower|::tolower|' ${WRKSRC}/src/cc/utils_string.hh
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/out/pypersrc ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/out/pypersrc.py ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/out/pypersrc2.py ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/out/pypersrc ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/out/pypersrc.py ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/out/pypersrc2.py ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/devel/pypersrc/pkg-descr
==============================================================================
--- head/devel/pypersrc/pkg-descr	Thu Nov  7 15:47:48 2013	(r333125)
+++ head/devel/pypersrc/pkg-descr	Thu Nov  7 15:53:36 2013	(r333126)
@@ -3,4 +3,4 @@ and C++ for browsing source code. You ca
 to jump to a line in a source code file.  Pypersrc can display
 different representations of the same source code.
 
-WWW: http://www.jimbrooks.org/web/hypersrc/pypersrc.php
+WWW: http://www.jimbrooks.org/programming/tools/hypersrc/pypersrc.php



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