mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
c675c3776b
PR: 235036 Submitted by: wenheping2000@hotmail.com(myself) Approved by: maintainer(timeout, > 30 days)
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# Created by: TAOKA Fumiyoshi
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pyproj
|
|
PORTVERSION= 1.9.6
|
|
CATEGORIES= graphics python geography
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= fmysh@iijmio-mail.jp
|
|
COMMENT= Cython wrapper to provide python interfaces to PROJ.4 functions
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libproj.so:graphics/proj
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist concurrent
|
|
|
|
MAKE_ENV= PROJ_DIR=${LOCALBASE}
|
|
|
|
PORTDOCS= *
|
|
PORTDOCS1= Changelog README.md docs/*
|
|
PORTEXAMPLES= datum_shift.py geodtest.py sample.out \
|
|
test.py test2.py test_datum.py test_transform.py
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_proj.so
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS1:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/test/,} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|