5425357367
- Use USES=libtool - Fix USE_PYTHON - Convert to new options helper - Bump PORTREVISION for package change - Do not hard-coded PORTVERSION in PLIST - Bump PORTREVISION for graphics/geos shlib change
34 lines
800 B
Makefile
34 lines
800 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libgpkg
|
|
PORTVERSION= 0.9.18
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://bitbucket.org/luciad/libgpkg/get/ \
|
|
LOCAL/sunpoet/${PORTNAME}
|
|
DISTNAME= ${PORTVERSION}
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= SQLite 3 extension of minimal OGC GeoPackage implementation
|
|
|
|
LICENSE= APACHE20
|
|
|
|
OPTIONS_DEFINE= GEOS
|
|
OPTIONS_DEFAULT=GEOS
|
|
|
|
USE_LDCONFIG= yes
|
|
USES= cmake tar:bzip2
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
WRKSRC= ${WRKDIR}/luciad-libgpkg-c56e3708453e
|
|
|
|
GEOS_CMAKE_OFF= -DGPKG_GEOS=OFF
|
|
GEOS_CMAKE_ON= -DGPKG_GEOS=ON
|
|
GEOS_LIB_DEPENDS= libgeos_c.so:${PORTSDIR}/graphics/geos
|
|
|
|
post-install:
|
|
${INSTALL_LIB} ${WRKSRC}/gpkg/libgpkg.a ${STAGEDIR}${PREFIX}/lib/
|
|
|
|
.include <bsd.port.mk>
|