2007-09-15 22:52:56 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2007/09/16 02:52:59 merdely Exp $
|
2007-05-26 16:23:47 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= GIS TIFF interchange library
|
2007-05-26 16:23:47 -04:00
|
|
|
|
|
|
|
DISTNAME= libgeotiff-1.2.3
|
2007-05-30 17:28:40 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2007-05-27 15:07:09 -04:00
|
|
|
CATEGORIES= devel geo
|
2007-05-30 17:28:40 -04:00
|
|
|
SHARED_LIBS= geotiff 1.2
|
2007-05-26 16:23:47 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.remotesensing.org/geotiff/geotiff.html
|
|
|
|
|
|
|
|
MAINTAINER= Jason Wright <jason@openbsd.org>
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.remotesensing.org/geotiff/libgeotiff/ \
|
|
|
|
http://proj.maptools.org/dl/
|
|
|
|
|
2007-05-30 17:28:40 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-05-30 16:41:53 -04:00
|
|
|
CONFIGURE_ENV += CFLAGS="-I${LOCALBASE}/include -fPIC" \
|
2007-05-30 17:28:40 -04:00
|
|
|
LDFLAGS=-L${LOCALBASE}/lib \
|
|
|
|
LIBgeotiff_VERSION=${LIBgeotiff_VERSION}
|
2007-05-30 16:41:53 -04:00
|
|
|
CONFIGURE_ARGS= --with-jpeg=${LOCALBASE} \
|
|
|
|
--with-proj=${LOCALBASE} \
|
|
|
|
--with-libtiff=${LOCALBASE}
|
2007-05-26 16:23:47 -04:00
|
|
|
|
|
|
|
WANTLIB= m z c jpeg
|
|
|
|
|
|
|
|
LIB_DEPENDS= proj::devel/proj \
|
|
|
|
tiff::graphics/tiff
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|