1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/deskutils/vym/Makefile
Max Brazhnikov c033d9e8bc Update to 1.99.0
PR:		ports/161570
Submitted by:	Zhihao Yuan <lichray at gmail.com>
Approved by:	maintainer timeout (three weeks)
2011-11-03 16:33:24 +00:00

62 lines
1.3 KiB
Makefile

# New ports collection makefile for: vym
# Date created: 17 Oct 2004
# Whom: Gerrit Beine <tux@pinguru.net>
#
# $FreeBSD$
#
PORTNAME= vym
PORTVERSION= 1.99.0
CATEGORIES= deskutils
MASTER_SITES= SF
MAINTAINER= gerrit.beine@gmx.de
COMMENT= VYM is a tool to generate and manipulate mind maps
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= qmake_build uic_build moc_build \
qt3support network xml dbus svg
QMAKE_ARGS= PREFIX=${PREFIX} \
DATADIR=${DATADIR:C,/vym$,,} \
DOCDIR=${DOCSDIR}
QT_LRELEASE= ${LOCALBASE}/bin/lrelease-qt4
MAKE_JOBS_SAFE= yes
STRIP_FILES= bin/vym
DESKTOP_ENTRIES= "VYM" \
"Put the things you have got in your mind into a map" \
"${DATADIR}/icons/vym.png" \
"vym" \
"" \
false
.if !defined(WITHOUT_NLS)
QT_COMPONENTS+= linguist_build
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e '/INSTALLS += doc/d' ${WRKSRC}/vym.pro
.endif
do-configure:
.if !defined(WITHOUT_NLS)
cd ${WRKSRC} && ${QT_LRELEASE} vym.pro
.endif
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
${QMAKEFLAGS} ${QMAKE_ARGS} vym.pro
post-install:
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
.if !defined(WITHOUT_NLS)
${MKDIR} ${DATADIR}/lang
${INSTALL_DATA} ${WRKSRC}/lang/*.qm ${DATADIR}/lang/
.endif
.include <bsd.port.mk>