aboutsummaryrefslogtreecommitdiff
path: root/math/koctave/Makefile
blob: c4df82f0deb6fa2c8cc03f2f060a4d35b667d043 (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=	4
CATEGORIES=	math kde
MASTER_SITES=	SF

MAINTAINER=	makc@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:22

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>