859557c29f
See for the list of bugs fixed: http://www.qgis.org/en/about-qgis/qgis-releases/139-qgis-1-7-4-releasehtml.html (we cant update to 1.8.0 because our bison is too old, and newer bisons dont cope well with our m4)
78 lines
1.8 KiB
Makefile
78 lines
1.8 KiB
Makefile
# $OpenBSD: Makefile,v 1.27 2012/11/01 07:25:36 landry Exp $
|
|
|
|
BROKEN-powerpc= doesn't build, assembler error: operand out of range
|
|
|
|
COMMENT = desktop geographical information system
|
|
|
|
ONLY_FOR_ARCHS = ${GCC4_ARCHS}
|
|
SHARED_ONLY = Yes
|
|
|
|
DISTNAME = qgis-1.7.4
|
|
EXTRACT_SUFX = .tar.bz2
|
|
CATEGORIES = geo x11
|
|
|
|
SHARED_LIBS = qgis_core 5.1 \
|
|
qgis_gui 4.0 \
|
|
qgis_analysis 1.3 \
|
|
qgispython 1.1 \
|
|
qgissqlanyconnection 0.0 # 1.7
|
|
|
|
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 <landry@openbsd.org>
|
|
|
|
MASTER_SITES = ${HOMEPAGE}/downloads/
|
|
|
|
MODULES = devel/cmake \
|
|
devel/gettext \
|
|
lang/python
|
|
|
|
BUILD_DEPENDS = x11/py-qt4>=4.8.4 \
|
|
geo/gdal,-python \
|
|
devel/bison
|
|
|
|
RUN_DEPENDS = x11/py-qt4>=4.8.4 \
|
|
geo/gdal,-python \
|
|
devel/desktop-file-utils
|
|
|
|
LIB_DEPENDS = ${MODPY_LIB_DEPENDS} \
|
|
devel/proj \
|
|
x11/qt4>=4.7.2 \
|
|
x11/qwt \
|
|
www/fcgi \
|
|
geo/gdal \
|
|
geo/geos \
|
|
devel/gsl \
|
|
databases/postgresql
|
|
|
|
WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender c expat \
|
|
fontconfig freetype glib-2.0 gthread-2.0 lcms m \
|
|
mng png pthread util stdc++ z proj \
|
|
QtGui QtNetwork QtXml QtSql QtCore QtSvg \
|
|
QtWebKit gdal geos_c gsl gslcblas pq qwt fcgi
|
|
WANTLIB += ${MODPY_WANTLIB} jpeg tiff
|
|
|
|
CONFIGURE_ENV+= VERBOSE=1
|
|
CONFIGURE_ARGS = -DWITH_MAPSERVER=TRUE
|
|
USE_GROFF = Yes
|
|
|
|
pre-configure:
|
|
# otherwise takes precedence over systemwide file
|
|
rm ${WRKSRC}/cmake/FindIconv.cmake
|
|
${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
|
|
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} -c \
|
|
${WRKSRC}/debian/qgis.desktop \
|
|
${PREFIX}/share/applications/qgis.desktop
|
|
|
|
.include <bsd.port.mk>
|