mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- Convert to USES+=gmake
- STAGE-clean - Fix build with clang - Correct MASTER_SITES and WWW line in pkg-descr - Take maintainership
This commit is contained in:
parent
9a401094e7
commit
d9185515c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333126
@ -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>
|
||||
|
@ -3,4 +3,4 @@ and C++ for browsing source code. You can click a HTML-like hyperlink
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user