00a26bc41d
'random negative ids', until a better solution is found with upstream. Fixes the 'oh i can't upload those new nodes to the server because they have positive ids' annoying bug (that appeared since switching to gcc4 ?) While here, switch to newer REVISION/LIB_DEPENDS.
40 lines
1013 B
Makefile
40 lines
1013 B
Makefile
# $OpenBSD: Makefile,v 1.6 2010/07/20 20:59:15 landry Exp $
|
|
|
|
COMMENT = OpenStreetMap editor
|
|
|
|
DISTNAME = merkaartor-0.16.0
|
|
REVISION = 1
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
CATEGORIES = geo x11
|
|
|
|
HOMEPAGE = http://www.merkaartor.be/
|
|
MAINTAINER = Landry Breuil <gaston@gcu.info>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = http://merkaartor.be/attachments/download/1/
|
|
|
|
NO_REGRESS = Yes
|
|
MODULES = devel/gettext x11/qt4
|
|
RUN_DEPENDS = ::devel/desktop-file-utils
|
|
|
|
LIB_DEPENDS = ::x11/qt4
|
|
|
|
WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender c expat fontconfig
|
|
WANTLIB += freetype glib-2.0 gobject-2.0 gthread-2.0 m png pthread
|
|
WANTLIB += stdc++ z QtGui QtNetwork QtSvg QtXml
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && env ${CONFIGURE_ENV} qmake4 NOUSEWEBKIT=1 GDAL=0 NODEBUG=1 \
|
|
PREFIX=${WRKINST}${PREFIX} TRANSDIR_MERKAARTOR=${WRKINST}/${PREFIX}/share/merkaartor/translations
|
|
|
|
pre-build:
|
|
cd ${WRKSRC}/translations && ${MAKE} release
|
|
|
|
.include <bsd.port.mk>
|