openbsd-ports/geo/geos/Makefile
2010-04-02 09:21:43 +00:00

40 lines
826 B
Makefile

# $OpenBSD: Makefile,v 1.4 2010/04/02 09:21:43 eric Exp $
COMMENT= 2d geometry and topology engine
DISTNAME= geos-3.2.0
CATEGORIES= geo
SHARED_LIBS= geos 6.0 \
geos_c 3.0
MAINTAINER= Eric Faurot <eric@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
HOMEPAGE= http://trac.osgeo.org/geos/
MASTER_SITES= http://download.osgeo.org/geos/
EXTRACT_SUFX= .tar.bz2
WANTLIB= m stdc++
BUILD_DEPENDS= :doxygen-*:devel/doxygen
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-pic
post-build:
cd $(WRKSRC)/doc && ${MAKE_PROGRAM} doxygen-html
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/geos/html
${INSTALL_DATA} $(WRKSRC)/doc/doxygen_docs/html/* \
${PREFIX}/share/doc/geos/html
.include <bsd.port.mk>