1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/graphics/py-pyproj/Makefile
Alexey Dokuchaev a247b2f47d Do not abuse INSTALL_MAN when installing documentation, examples, and
other miscellaneous files that are not actually manual pages (part 2).
2018-01-11 14:18:01 +00:00

42 lines
1.0 KiB
Makefile

# Created by: TAOKA Fumiyoshi
# $FreeBSD$
PORTNAME= pyproj
PORTVERSION= 1.9.5.1
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}${PYTHON_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>