aboutsummaryrefslogtreecommitdiffstats
path: root/math/koctave/Makefile
blob: 5ee5fca496e41cc897d1c778fd5476a8cf4871dd (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
# New ports collection makefile for:    koctave
# Date created:             01 August 2003
# Whom:                 Kay Lehmann <kay_lehmann@web.de>
#
# $FreeBSD$
#

PORTNAME=   koctave
PORTVERSION=    0.70
PORTREVISION=   5
CATEGORIES= math kde
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    KDEGUI for octave

RUN_DEPENDS=    octave:${PORTSDIR}/math/octave

USE_QT_VER= 3
USE_KDELIBS_VER=3
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool

post-patch:
    ${REINPLACE_CMD} -e '/kde_appsdir/s|applnk||g' ${WRKSRC}/configure
    ${REINPLACE_CMD} -e '/kde_appsdir/s|Applications|applications/kde|g' \
        -e '/kde_appsdir/s|share/||g' ${WRKSRC}/src/Makefile.in
    ${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \
        ${WRKSRC}/src/prefs.cpp ${WRKSRC}/src/koctave.cpp

.include <bsd.port.mk>