aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kdissert/Makefile
blob: 22a4d1eabcc6e583046a10d9b0e57dfe155474cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    kdissert
# Date created:             2004 06 July
# Whom:                 Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   kdissert
PORTVERSION=    0.2.9
CATEGORIES= deskutils kde
MASTER_SITES=   http://freehackers.org/~tnagy/kdissert/

MAINTAINER= ports@FreeBSD.org
COMMENT=    KDE mindmapping tool

BUILD_DEPENDS=  qmake:${PORTSDIR}/devel/qmake

USE_BZIP2=  yes
USE_KDELIBS_VER=    3
USE_REINPLACE=  yes
USE_GMAKE=  yes
WANT_LIBTOOL_VER=   15
MAKE_ARGS=  QTDIR="${QT_PREFIX}" LIBTOOL="${LIBTOOL} --tag=CXX"
INSTALLS_SHLIB= yes

do-configure:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
        -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ main.pro

pre-install:
    @${MKDIR} ${PREFIX}/share/apps/kdissert/pics
    @${MKDIR} ${PREFIX}/share/apps/kdissert/templatedata
    @${MKDIR} ${PREFIX}/share/doc/HTML/en/kdissert
.for size in 16 32 64 128
    @${MKDIR} ${PREFIX}/share/icons/hicolor/${size}x${size}/apps
.endfor

post-install:
    @${STRIP_CMD} ${PREFIX}/bin/kdissert

.include <bsd.port.mk>