2009-01-15 02:44:35 +01:00
|
|
|
# New ports collection makefile for: merkaartor
|
|
|
|
# Date created: 9 January 2009
|
|
|
|
# Whom: slaven@rezic.de
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= merkaartor
|
2009-06-09 15:36:58 +02:00
|
|
|
PORTVERSION= 0.13.2
|
2009-08-04 23:35:49 +02:00
|
|
|
PORTREVISION= 2
|
2009-01-15 02:44:35 +01:00
|
|
|
CATEGORIES= astro
|
|
|
|
MASTER_SITES= http://www.merkaartor.org/downloads/source/
|
|
|
|
|
|
|
|
MAINTAINER= slaven@rezic.de
|
|
|
|
COMMENT= An openstreetmap mapping program
|
|
|
|
|
|
|
|
LIB_DEPENDS= exiv2:${PORTSDIR}/graphics/exiv2
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
|
|
|
|
USE_QT_VER= 4
|
2009-04-23 15:38:45 +02:00
|
|
|
QT_COMPONENTS= qmake_build uic_build moc_build rcc_build linguist_build \
|
2009-08-04 23:35:49 +02:00
|
|
|
gui network svg webkit xml imageformats script scripttools
|
2009-01-15 02:44:35 +01:00
|
|
|
|
|
|
|
MAN1= merkaartor.1
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
2009-04-23 15:38:45 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/lrelease|&-qt4|' \
|
|
|
|
${WRKSRC}/Merkaartor.pro
|
2009-01-15 02:44:35 +01:00
|
|
|
|
2009-04-23 15:38:45 +02:00
|
|
|
# Don't ask. If the compiler_TSQM_make_all target is not called before
|
|
|
|
# calling qmake-qt4, then the install_translations target won't show
|
|
|
|
# up in the Makefile.
|
2009-01-15 02:44:35 +01:00
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
|
|
|
${QMAKE} PREFIX=${PREFIX}
|
2009-04-23 15:38:45 +02:00
|
|
|
cd ${WRKSRC} && ${MAKE} compiler_TSQM_make_all
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
|
|
|
${QMAKE} PREFIX=${PREFIX}
|
2009-01-15 02:44:35 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/debian/merkaartor.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|