mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- Add LICENSE
- Tweak python dependency: runtime only and python 2.x only - Add NO_ARCH - Fix shebangfix by removing shebang change from the patch Approved by: portmgr blanket
This commit is contained in:
parent
ff1e34ccad
commit
73a4cd89ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440967
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= pgtune
|
||||
PORTVERSION= 0.9.3
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://pgfoundry.org/frs/download.php/2449/ \
|
||||
https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/
|
||||
@ -11,9 +11,13 @@ MASTER_SITES= http://pgfoundry.org/frs/download.php/2449/ \
|
||||
MAINTAINER= gjb@FreeBSD.org
|
||||
COMMENT= Postgresql.conf tuning tips based on hardware and load type
|
||||
|
||||
USES= python shebangfix
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
|
||||
USES= python:2,run shebangfix
|
||||
SHEBANG_FILES= ${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/pgtune ${STAGEDIR}${PREFIX}/bin
|
||||
|
@ -1,12 +1,6 @@
|
||||
--- pgtune.orig 2009-10-28 21:16:39.000000000 -0400
|
||||
+++ pgtune 2011-08-01 15:32:10.000000000 -0400
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python
|
||||
+#!/usr/local/bin/python
|
||||
"""
|
||||
pgtune
|
||||
|
||||
@@ -277,7 +277,7 @@
|
||||
--- pgtune.orig 2009-10-29 01:16:39 UTC
|
||||
+++ pgtune
|
||||
@@ -277,7 +277,7 @@ class pg_settings(object):
|
||||
if platform.architecture()[0]=="64bit": platformBits=64
|
||||
# TODO Support handling versions other than 8.4
|
||||
# TODO Allow passing in platform bit size
|
||||
|
Loading…
Reference in New Issue
Block a user