2006-04-29 15:53:16 -04:00
|
|
|
# New ports collection makefile for: RKWard
|
|
|
|
# Date created: 19 April 2006
|
|
|
|
# Whom: thierry@pompo.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rkward
|
2008-04-21 16:49:27 -04:00
|
|
|
DISTVERSION= 0.4.9a
|
2009-07-31 09:57:52 -04:00
|
|
|
PORTREVISION= 4
|
2008-04-21 16:49:27 -04:00
|
|
|
PORTEPOCH= 3
|
2006-04-29 15:53:16 -04:00
|
|
|
CATEGORIES= math
|
2009-08-21 20:28:34 -04:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Historical_Releases/0.4.x_and_earlier/0.4.9a%20%28KDE3%29
|
2006-04-29 15:53:16 -04:00
|
|
|
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
|
|
COMMENT= IDE/GUI for the R-project
|
|
|
|
|
|
|
|
LIB_DEPENDS= R.0:${PORTSDIR}/math/R
|
|
|
|
|
2009-05-19 16:24:40 -04:00
|
|
|
CONFLICTS= rkward-kde4-0.5.*
|
|
|
|
|
2006-04-29 15:53:16 -04:00
|
|
|
USE_KDELIBS_VER=3
|
|
|
|
USE_PHP= yes
|
|
|
|
WANT_PHP_CLI= yes
|
|
|
|
USE_GETTEXT= yes
|
2009-08-02 15:36:34 -04:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2006-04-29 15:53:16 -04:00
|
|
|
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2007-05-25 12:25:03 -04:00
|
|
|
CONFIGURE_ARGS= --disable-fast-perl
|
2006-09-17 17:11:44 -04:00
|
|
|
INSTALLS_ICONS= yes
|
2006-04-29 15:53:16 -04:00
|
|
|
|
2007-07-14 00:21:08 -04:00
|
|
|
USE_FORTRAN= yes
|
2009-01-21 05:33:14 -05:00
|
|
|
FORTRANLIBDIR2= `${DIRNAME} \\`${FC} -print-libgcc-file-name\\``/../../../
|
2007-01-23 20:23:35 -05:00
|
|
|
|
2006-04-29 15:53:16 -04:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/HTML/en/rkward
|
|
|
|
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
NLS= "@comment "
|
|
|
|
.else
|
|
|
|
NLS= ""
|
|
|
|
.endif
|
|
|
|
PLIST_SUB+= NLS=${NLS}
|
|
|
|
|
|
|
|
PHP2FIX= rkward/plugins/makemakefileam.php \
|
|
|
|
rkward/settings/rksettingsmodulephp.cpp
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${REINPLACE_CMD} -e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \
|
|
|
|
${PHP2FIX:S|^|${WRKSRC}/|}
|
2007-05-25 12:25:03 -04:00
|
|
|
${REINPLACE_CMD} -e 's|-lgfortran|-L${FORTRANLIBDIR2} -lgfortran|' \
|
|
|
|
${WRKSRC}/${CONFIGURE_SCRIPT}
|
2006-04-29 15:53:16 -04:00
|
|
|
.if defined(NOPORTDOCS)
|
2008-11-22 10:37:05 -05:00
|
|
|
${REINPLACE_CMD} -e 's|rkward po doc|rkward po|' \
|
2006-04-29 15:53:16 -04:00
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
${REINPLACE_CMD} -e 's|SUBDIRS = rkward po|SUBDIRS = rkward|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|