2004-10-22 15:20:32 +00:00
|
|
|
# New ports collection makefile for: vym
|
|
|
|
# Date created: 17 Oct 2004
|
|
|
|
# Whom: Gerrit Beine <tux@pinguru.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= vym
|
2005-09-16 20:36:16 +00:00
|
|
|
PORTVERSION= 1.7.0
|
2004-10-22 15:20:32 +00:00
|
|
|
CATEGORIES= deskutils
|
2005-07-14 14:43:53 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-10-22 15:20:32 +00:00
|
|
|
|
|
|
|
MAINTAINER= tux@pinguru.net
|
|
|
|
COMMENT= VYM (View Your Mind) is a tool to generate and manipulate maps
|
|
|
|
|
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
|
|
|
|
USE_QT_VER= 3
|
|
|
|
MAKE_ENV= QTDIR="${QT_PREFIX}"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# Add this condititonal while people might still have old versions
|
|
|
|
# of qmake, living in X11BASE, installed. This should go away eventually.
|
|
|
|
|
|
|
|
.if exists(${X11BASE}/share/qt/mkspecs/freebsd-g++)
|
|
|
|
QMAKESPEC= ${X11BASE}/share/qt/mkspecs/freebsd-g++
|
|
|
|
.else
|
|
|
|
QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
|
|
|
|
-spec ${QMAKESPEC} vym.pro
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${CP} -R ${WRKSRC}/scripts ${DATADIR}
|
|
|
|
@${CP} -R ${WRKSRC}/styles ${DATADIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
|
|
|
|
@${CP} -R ${WRKSRC}/demos/* ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|