mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
692be2a04a
- 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)
31 lines
804 B
Makefile
31 lines
804 B
Makefile
# Created by: TAOKA Fumiyoshi
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pyproj
|
|
PORTVERSION= 1.9.3
|
|
CATEGORIES= graphics python geography
|
|
MASTER_SITES= GOOGLE_CODE
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= fmysh@iijmio-mail.jp
|
|
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 LICENSE_proj4
|
|
PORTEXAMPLES= datum_shift.py geodtest.py sample.out \
|
|
test.py test2.py test_transform.py
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
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>
|