1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

graphics/py-pyproj: update to 1.9.3

- Update to 1.9.3 [1]
- Abbreviate site to GOOGLE_CODE
- Use python auto plist
- Add DOCS and EXAMPLES options
- Allow staging

PR:		ports/183072
Submitted by:	Rick van der Zwet <info rickvanderzwet.nl>
Approved by:	maintainer (timeout)
This commit is contained in:
William Grzybowski 2013-11-06 13:43:12 +00:00
parent eff5e17089
commit 692be2a04a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332992
3 changed files with 12 additions and 66 deletions

View File

@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= pyproj
PORTVERSION= 1.8.8
PORTVERSION= 1.9.3
CATEGORIES= graphics python geography
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= fmysh@iijmio-mail.jp
@ -13,25 +13,18 @@ COMMENT= Pyrex wrapper to provide python interfaces to PROJ.4
WRKSRC= ${WRKDIR}/${DISTNAME:C/[a-z]$//}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= Changelog README README.html LICENSE_proj4
PORTDOCS= Changelog README LICENSE_proj4
PORTEXAMPLES= datum_shift.py geodtest.py sample.out \
test.py test2.py test_transform.py
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
.endfor
.endif
OPTIONS_DEFINE= DOCS EXAMPLES
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/test/$f ${EXAMPLESDIR}
.endfor
.endif
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/test/,} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (pyproj-1.8.8.tar.gz) = 0ae91d39cc437915155dc116040119c0b24011053bdaee2524699c3ae8d053ae
SIZE (pyproj-1.8.8.tar.gz) = 2592890
SHA256 (pyproj-1.9.3.tar.gz) = 912ed86c5e407f091d0f3d076594af4fb569e27c68199b7d71651edd522aaa0c
SIZE (pyproj-1.9.3.tar.gz) = 2687498

View File

@ -1,47 +0,0 @@
%%PYTHON_SITELIBDIR%%/pyproj/__init__.py
%%PYTHON_SITELIBDIR%%/pyproj/__init__.pyc
%%PYTHON_SITELIBDIR%%/pyproj/__init__.pyo
%%PYTHON_SITELIBDIR%%/pyproj/_geod.so
%%PYTHON_SITELIBDIR%%/pyproj/_proj.so
%%PYTHON_SITELIBDIR%%/pyproj/data/FL
%%PYTHON_SITELIBDIR%%/pyproj/data/GL27
%%PYTHON_SITELIBDIR%%/pyproj/data/IGNF
%%PYTHON_SITELIBDIR%%/pyproj/data/MD
%%PYTHON_SITELIBDIR%%/pyproj/data/README
%%PYTHON_SITELIBDIR%%/pyproj/data/TN
%%PYTHON_SITELIBDIR%%/pyproj/data/WI
%%PYTHON_SITELIBDIR%%/pyproj/data/WO
%%PYTHON_SITELIBDIR%%/pyproj/data/alaska
%%PYTHON_SITELIBDIR%%/pyproj/data/conus
%%PYTHON_SITELIBDIR%%/pyproj/data/epsg
%%PYTHON_SITELIBDIR%%/pyproj/data/esri
%%PYTHON_SITELIBDIR%%/pyproj/data/esri.extra
%%PYTHON_SITELIBDIR%%/pyproj/data/hawaii
%%PYTHON_SITELIBDIR%%/pyproj/data/nad.lst
%%PYTHON_SITELIBDIR%%/pyproj/data/nad27
%%PYTHON_SITELIBDIR%%/pyproj/data/nad83
%%PYTHON_SITELIBDIR%%/pyproj/data/ntf_r93.gsb
%%PYTHON_SITELIBDIR%%/pyproj/data/ntv1_can.dat
%%PYTHON_SITELIBDIR%%/pyproj/data/ntv2_out.dist
%%PYTHON_SITELIBDIR%%/pyproj/data/null
%%PYTHON_SITELIBDIR%%/pyproj/data/nzgd2kgrid0005.gsb
%%PYTHON_SITELIBDIR%%/pyproj/data/other.extra
%%PYTHON_SITELIBDIR%%/pyproj/data/pj_out27.dist
%%PYTHON_SITELIBDIR%%/pyproj/data/pj_out83.dist
%%PYTHON_SITELIBDIR%%/pyproj/data/proj_def.dat
%%PYTHON_SITELIBDIR%%/pyproj/data/proj_outIGNF.dist
%%PYTHON_SITELIBDIR%%/pyproj/data/prvi
%%PYTHON_SITELIBDIR%%/pyproj/data/stgeorge
%%PYTHON_SITELIBDIR%%/pyproj/data/stlrnc
%%PYTHON_SITELIBDIR%%/pyproj/data/stpaul
%%PYTHON_SITELIBDIR%%/pyproj/data/td_out.dist
%%PYTHON_SITELIBDIR%%/pyproj/data/test27
%%PYTHON_SITELIBDIR%%/pyproj/data/test83
%%PYTHON_SITELIBDIR%%/pyproj/data/testIGNF
%%PYTHON_SITELIBDIR%%/pyproj/data/testdatumfile
%%PYTHON_SITELIBDIR%%/pyproj/data/testntv2
%%PYTHON_SITELIBDIR%%/pyproj/data/testvarious
%%PYTHON_SITELIBDIR%%/pyproj/data/tv_out.dist
%%PYTHON_SITELIBDIR%%/pyproj/data/world
@dirrm %%PYTHON_SITELIBDIR%%/pyproj/data
@dirrm %%PYTHON_SITELIBDIR%%/pyproj