openbsd-ports/geo/merkaartor/Makefile
ajacoutot a1b7c39eb5 gtk-update-icon-cache:
Don't redirect errors to /dev/null and don't return true(1)
unconditionally. Instead, don't check for the existence of index.theme.
This will allow us to catch errors that may be happening because of a
missing dependency in the chain.

Some hidden issues may appear, in which case please contact me.

discussed with and ok blind jasper@
2012-06-15 08:32:14 +00:00

41 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2012/06/15 08:32:15 ajacoutot Exp $
COMMENT = OpenStreetMap editor
DISTNAME = merkaartor-0.17.2
EXTRACT_SUFX = .tar.bz2
REVISION = 0
CATEGORIES = geo x11
HOMEPAGE = http://www.merkaartor.be/
MAINTAINER = Landry Breuil <landry@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://merkaartor.be/attachments/download/253/
NO_REGRESS = Yes
MODULES = devel/gettext x11/qt4
BUILD_DEPENDS = devel/boost
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+2,-guic
LIB_DEPENDS = x11/qt4 devel/proj
WANTLIB += QtGui QtNetwork QtSvg QtWebKit QtXml c m proj pthread
WANTLIB += stdc++ z ICE SM X11 Xext Xi Xinerama Xrender fontconfig freetype
do-configure:
cd ${WRKSRC} && env ${CONFIGURE_ENV} qmake4 GDAL=0 PROJ=1 NODEBUG=1 \
PREFIX=${WRKINST}${PREFIX} TRANSDIR_MERKAARTOR=${WRKINST}/${PREFIX}/share/merkaartor/translations
pre-build:
cd ${WRKSRC}/translations && ${MAKE} release
.include <bsd.port.mk>