- Add to geography virtual category - Respect NOPORTEXAMPLES PR: ports/118187 Submitted by: TAOKA Fumiyoshi <fmysh AT iijmio-mail.jp> (maintainer)
36 lines
779 B
Makefile
36 lines
779 B
Makefile
# Ports collection makefile for: pyproj
|
|
# Date created: Feb 8, 2007
|
|
# Whom: TAOKA Fumiyoshi
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pyproj
|
|
PORTVERSION= 1.8.3
|
|
CATEGORIES= graphics python geography
|
|
MASTER_SITES= http://pyproj.googlecode.com/files/
|
|
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
|
|
|
|
PORTDOCS= Changelog README README.html LICENSE_proj4
|
|
|
|
post-install:
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/test/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|