aboutsummaryrefslogtreecommitdiffstats
path: root/math/koctave/Makefile
blob: 0a7d36d6aaef1cae4ea9d6f4280123387ed7765f (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
# 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

DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE=    2013-07-01

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>