caa743c234
RKWard prior to v. 0.5 depends on KDE-3, and newer versions depend on KDE-4. PR: ports/134495
60 lines
1.3 KiB
Makefile
60 lines
1.3 KiB
Makefile
# New ports collection makefile for: RKWard
|
|
# Date created: 19 April 2006
|
|
# Whom: thierry@pompo.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rkward
|
|
DISTVERSION= 0.5.0d
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMESUFFIX= -kde4
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= IDE/GUI for the R-project
|
|
|
|
LIB_DEPENDS= R.0:${PORTSDIR}/math/R
|
|
|
|
CONFLICTS= rkward-0.4.*
|
|
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= qmake_build moc_build rcc_build uic_build
|
|
USE_KDE4= automoc4 kdelibs
|
|
USE_PHP= yes
|
|
WANT_PHP_CLI= yes
|
|
USE_GETTEXT= yes
|
|
USE_CMAKE= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
#USE_FORTRAN= yes
|
|
#FORTRANLIBDIR2= `${DIRNAME} \\`${FC} -print-libgcc-file-name\\``/../../../
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/HTML/en/rkward
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
NLS= "@comment "
|
|
.else
|
|
NLS= ""
|
|
.endif
|
|
PLIST_SUB+= NLS=${NLS}
|
|
|
|
PHP2FIX= rkward/settings/rksettingsmodulephp.cpp
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \
|
|
${PHP2FIX:S|^|${WRKSRC}/|}
|
|
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
|
|
${WRKSRC}/rkward/rkward.sh.template
|
|
.if defined(NOPORTDOCS)
|
|
${REINPLACE_CMD} -e 's|ADD_SUBDIRECTORY(doc)|#ADD_SUBDIRECTORY(doc)|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
.endif
|
|
.if defined(WITHOUT_NLS)
|
|
${REINPLACE_CMD} -e 's|ADD_SUBDIRECTORY(po)|#ADD_SUBDIRECTORY(po)|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|