Move some .py from -main to the -python subpackage, add @conflict marker

to ease updates, use MODPY_ADJ_FILES on the python scripts, and bump
corresponding REVISIONs.
This commit is contained in:
landry 2011-07-01 08:04:57 +00:00
parent 32f66b94b2
commit 295cdc1756
3 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2011/06/22 13:07:32 landry Exp $
# $OpenBSD: Makefile,v 1.19 2011/07/01 08:04:57 landry Exp $
COMMENT-main = translator library for geospatial data formats
COMMENT-python =python bindings and utilities for GDAL
@ -10,6 +10,8 @@ DISTNAME = gdal-${V}
PKGNAME-main = ${DISTNAME}
PKGNAME-python =py-${DISTNAME}
PKGNAME-perl = p5-Geo-GDAL-${V}
REVISION-main = 0
REVISION-python = 0
SHARED_LIBS = gdal 17.0
CATEGORIES = geo devel
@ -58,6 +60,7 @@ BUILD_DEPENDS += ${RUN_DEPENDS} devel/swig
MODPY_SETUPTOOLS = Yes
MODPY_EGG_VERSION = ${V}
MODPY_ADJ_FILES = swig/python/scripts/*.py
MAKE_FILE = GNUmakefile
MAKE_FLAGS = LIBTOOL_FINISH=:

View File

@ -1,11 +1,9 @@
@comment $OpenBSD: PLIST-main,v 1.5 2011/06/22 12:53:12 landry Exp $
@comment $OpenBSD: PLIST-main,v 1.6 2011/07/01 08:04:57 landry Exp $
@pkgpath geo/gdal
@conflict gdal-<=1.8.0
%%SHARED%%
bin/gdal-config
bin/gdal_calc.py
@bin bin/gdal_contour
bin/gdal_fillnodata.dox
bin/gdal_fillnodata.py
@bin bin/gdal_grid
@bin bin/gdal_rasterize
@bin bin/gdal_translate

View File

@ -1,10 +1,13 @@
@comment $OpenBSD: PLIST-python,v 1.2 2011/06/22 12:53:12 landry Exp $
@comment $OpenBSD: PLIST-python,v 1.3 2011/07/01 08:04:57 landry Exp $
bin/epsg_tr.py
bin/esri2wkt.py
bin/gcps2vec.py
bin/gcps2wld.py
bin/gdal2tiles.py
bin/gdal2xyz.py
bin/gdal_calc.py
bin/gdal_fillnodata.dox
bin/gdal_fillnodata.py
bin/gdal_merge.py
bin/gdal_polygonize.py
bin/gdal_proximity.py