2010-12-08 04:07:48 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2010/12/08 09:07:48 landry Exp $
|
2009-06-01 19:14:58 -04:00
|
|
|
|
|
|
|
COMMENT = desktop geographical information system
|
|
|
|
|
2010-08-30 07:02:48 -04:00
|
|
|
ONLY_FOR_ARCHS = ${GCC4_ARCHS}
|
|
|
|
|
2010-12-08 04:07:48 -05:00
|
|
|
DISTNAME = qgis-1.6.0
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
2009-06-01 19:14:58 -04:00
|
|
|
CATEGORIES = geo x11
|
|
|
|
|
2010-12-08 04:07:48 -05:00
|
|
|
SHARED_LIBS = qgis_core 4.0 \
|
|
|
|
qgis_gui 3.0 \
|
|
|
|
qgis_analysis 1.2 \
|
|
|
|
qgispython 1.1 # .1.3
|
2009-06-01 19:14:58 -04:00
|
|
|
|
|
|
|
HOMEPAGE = http://www.qgis.org/
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
MAINTAINER = Landry Breuil <gaston@gcu.info>
|
|
|
|
|
2010-12-08 04:07:48 -05:00
|
|
|
MASTER_SITES = ${HOMEPAGE}/downloads/
|
2009-06-01 19:14:58 -04:00
|
|
|
|
|
|
|
MODULES = devel/cmake \
|
2009-09-06 07:19:17 -04:00
|
|
|
devel/gettext \
|
2009-06-01 19:14:58 -04:00
|
|
|
lang/python
|
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
BUILD_DEPENDS = x11/py-qt4 \
|
|
|
|
geo/gdal,-python \
|
|
|
|
devel/bison
|
2009-06-01 19:14:58 -04:00
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
RUN_DEPENDS = x11/py-qt4 \
|
|
|
|
geo/gdal,-python \
|
|
|
|
devel/desktop-file-utils
|
2009-06-01 19:14:58 -04:00
|
|
|
|
2009-09-06 07:19:17 -04:00
|
|
|
LIB_DEPENDS = ${MODPY_LIB_DEPENDS} \
|
2010-11-17 03:05:12 -05:00
|
|
|
devel/proj \
|
|
|
|
x11/qt4 \
|
2010-12-08 04:07:48 -05:00
|
|
|
x11/qwt \
|
|
|
|
www/fcgi \
|
2010-11-17 03:05:12 -05:00
|
|
|
geo/gdal \
|
|
|
|
geo/geos \
|
|
|
|
devel/gsl \
|
|
|
|
databases/postgresql
|
2009-06-01 19:14:58 -04:00
|
|
|
|
2009-08-12 16:05:57 -04:00
|
|
|
WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender c expat fontconfig \
|
2009-09-06 07:19:17 -04:00
|
|
|
freetype glib-2.0 gthread-2.0 m png pthread gobject-2.0 util \
|
2010-08-30 07:02:48 -04:00
|
|
|
stdc++ z proj QtGui QtNetwork QtXml QtSql QtCore QtSvg QtWebKit\
|
2010-12-08 04:07:48 -05:00
|
|
|
gdal geos_c gsl gslcblas pq qwt fcgi
|
2010-10-24 11:53:55 -04:00
|
|
|
WANTLIB += ${MODPY_WANTLIB}
|
2009-06-01 19:14:58 -04:00
|
|
|
|
2010-01-11 15:13:31 -05:00
|
|
|
CONFIGURE_ENV+= VERBOSE=1
|
2010-10-18 14:13:12 -04:00
|
|
|
USE_GROFF = Yes
|
2009-06-01 19:14:58 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/cmake/Find{GDAL,GEOS,Postgres}.cmake
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/{pixmaps,applications}
|
|
|
|
ln ${PREFIX}/share/{qgis/images/icons,pixmaps}/qgis-icon.png
|
2010-08-30 07:02:48 -04:00
|
|
|
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} -c \
|
|
|
|
${WRKSRC}/debian/qgis.desktop \
|
2009-06-01 19:14:58 -04:00
|
|
|
${PREFIX}/share/applications/qgis.desktop
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|