c6c6a22140
better configure style and sync plist
37 lines
882 B
Makefile
37 lines
882 B
Makefile
# $OpenBSD: Makefile,v 1.4 2007/05/30 21:28:40 steven Exp $
|
|
|
|
COMMENT= "GIS TIFF interchange library"
|
|
|
|
DISTNAME= libgeotiff-1.2.3
|
|
PKGNAME= ${DISTNAME}p1
|
|
CATEGORIES= devel geo
|
|
SHARED_LIBS= geotiff 1.2
|
|
|
|
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/
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV += CFLAGS="-I${LOCALBASE}/include -fPIC" \
|
|
LDFLAGS=-L${LOCALBASE}/lib \
|
|
LIBgeotiff_VERSION=${LIBgeotiff_VERSION}
|
|
CONFIGURE_ARGS= --with-jpeg=${LOCALBASE} \
|
|
--with-proj=${LOCALBASE} \
|
|
--with-libtiff=${LOCALBASE}
|
|
|
|
WANTLIB= m z c jpeg
|
|
|
|
LIB_DEPENDS= proj::devel/proj \
|
|
tiff::graphics/tiff
|
|
|
|
.include <bsd.port.mk>
|