mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
- remove unused CPE vars
- use new python:2.7 notation - change apache sample to match apache24 - use own shebangfix, to many files (w.o file suffix) - use new pkg-plist (remove @dirrm..) - bump PORTREVISION
This commit is contained in:
parent
f8f2eb0309
commit
f98542f11d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369487
3 changed files with 8 additions and 40 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= viewvc
|
PORTNAME= viewvc
|
||||||
PORTVERSION= 1.1.22
|
PORTVERSION= 1.1.22
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= devel python
|
CATEGORIES= devel python
|
||||||
MASTER_SITES= http://www.viewvc.org/ \
|
MASTER_SITES= http://www.viewvc.org/ \
|
||||||
LOCAL/ohauer
|
LOCAL/ohauer
|
||||||
|
@ -39,12 +39,9 @@ MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-My
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
USES= cpe
|
USES= cpe python:2.7
|
||||||
CPE_VENDOR= viewvc
|
|
||||||
CPE_PRODUCT= viewvc
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
USE_RC_SUBR= viewvc
|
USE_RC_SUBR= viewvc
|
||||||
USE_PYTHON= 2
|
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
|
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
|
||||||
ECHO=${ECHO} EGREP=${EGREP} TOUCH=${TOUCH} \
|
ECHO=${ECHO} EGREP=${EGREP} TOUCH=${TOUCH} \
|
||||||
|
@ -65,6 +62,11 @@ post-patch:
|
||||||
${REINPLACE_CMD} -e 's/conf.dist/conf.sample/g' \
|
${REINPLACE_CMD} -e 's/conf.dist/conf.sample/g' \
|
||||||
${WRKSRC}/viewvc-install \
|
${WRKSRC}/viewvc-install \
|
||||||
${WRKSRC}/bin/standalone.py
|
${WRKSRC}/bin/standalone.py
|
||||||
|
# to much files, use own shebangfix
|
||||||
|
${FIND} ${WRKSRC} -type f | ${GREP} -v -e 'png' -e 'images' \
|
||||||
|
| xargs ${REINPLACE_CMD} -i '' \
|
||||||
|
-e '1s|^\#![[:space:]]*/usr/bin/env python|\#!${PYTHON_CMD}|' \
|
||||||
|
-e '1s|^\#![[:space:]]*/usr/bin/python|\#!${PYTHON_CMD}|'
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@(cd ${WRKSRC} && ${PYTHON_CMD} viewvc-install --prefix=${PREFIX}/${PORTNAME} --destdir="${STAGEDIR}" --clean-mode=false)
|
@(cd ${WRKSRC} && ${PYTHON_CMD} viewvc-install --prefix=${PREFIX}/${PORTNAME} --destdir="${STAGEDIR}" --clean-mode=false)
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
AddHandler cgi-script .cgi
|
AddHandler cgi-script .cgi
|
||||||
Options NONE +ExecCGI
|
Options NONE +ExecCGI
|
||||||
DirectoryIndex viewvc.cgi
|
DirectoryIndex viewvc.cgi
|
||||||
Order allow,deny
|
Require all granted
|
||||||
Allow from all
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -241,36 +241,3 @@ viewvc/templates/revision.ezt
|
||||||
viewvc/templates/roots.ezt
|
viewvc/templates/roots.ezt
|
||||||
viewvc/templates/rss.ezt
|
viewvc/templates/rss.ezt
|
||||||
@sample viewvc/viewvc.conf.sample
|
@sample viewvc/viewvc.conf.sample
|
||||||
@dirrm viewvc/bin/cgi
|
|
||||||
@dirrm viewvc/bin/mod_python
|
|
||||||
@dirrm viewvc/bin/wsgi
|
|
||||||
@dirrm viewvc/bin
|
|
||||||
@dirrm viewvc/lib/vcauth/forbidden
|
|
||||||
@dirrm viewvc/lib/vcauth/forbiddenre
|
|
||||||
@dirrm viewvc/lib/vcauth/svnauthz
|
|
||||||
@dirrm viewvc/lib/vcauth
|
|
||||||
@dirrm viewvc/lib/vclib/ccvs/rcsparse/test-data
|
|
||||||
@dirrm viewvc/lib/vclib/ccvs/rcsparse
|
|
||||||
@dirrm viewvc/lib/vclib/ccvs
|
|
||||||
@dirrm viewvc/lib/vclib/svn
|
|
||||||
@dirrm viewvc/lib/vclib
|
|
||||||
@dirrm viewvc/lib
|
|
||||||
@dirrm viewvc/templates/docroot/images
|
|
||||||
@dirrm viewvc/templates/docroot
|
|
||||||
@dirrm viewvc/templates/include
|
|
||||||
@dirrm viewvc/templates
|
|
||||||
@dirrm viewvc/templates-contrib/newvc/templates/docroot/images
|
|
||||||
@dirrm viewvc/templates-contrib/newvc/templates/docroot
|
|
||||||
@dirrm viewvc/templates-contrib/newvc/templates/include
|
|
||||||
@dirrm viewvc/templates-contrib/newvc/templates
|
|
||||||
@dirrm viewvc/templates-contrib/newvc
|
|
||||||
@dirrm viewvc/templates-contrib/viewsvn/extras
|
|
||||||
@dirrm viewvc/templates-contrib/viewsvn/screenshots
|
|
||||||
@dirrm viewvc/templates-contrib/viewsvn/templates/docroot/images/tortoisesvn
|
|
||||||
@dirrm viewvc/templates-contrib/viewsvn/templates/docroot/images
|
|
||||||
@dirrm viewvc/templates-contrib/viewsvn/templates/docroot
|
|
||||||
@dirrm viewvc/templates-contrib/viewsvn/templates/include
|
|
||||||
@dirrm viewvc/templates-contrib/viewsvn/templates
|
|
||||||
@dirrm viewvc/templates-contrib/viewsvn
|
|
||||||
@dirrm viewvc/templates-contrib
|
|
||||||
@dirrmtry viewvc
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue