2000-08-13 19:55:52 +02:00
|
|
|
# New ports collection makefile for: Ruby-kde
|
|
|
|
# Date created: 14 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kde
|
2001-03-17 12:47:02 +01:00
|
|
|
PORTVERSION= 0.15
|
2000-08-16 14:21:24 +02:00
|
|
|
CATEGORIES= x11 kde ruby
|
2000-08-13 19:55:52 +02:00
|
|
|
MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
|
2000-09-07 09:44:38 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-09-10 09:57:05 +02:00
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
2000-08-13 19:55:52 +02:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
2000-10-23 21:38:27 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/qt.rb:${PORTSDIR}/x11-toolkits/ruby-qt
|
2000-08-13 19:55:52 +02:00
|
|
|
|
2001-04-06 19:18:24 +02:00
|
|
|
USE_KDELIBS_VER= 1
|
2000-09-07 09:44:38 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
2000-09-07 14:13:53 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2000-09-07 09:44:38 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2000-08-17 17:21:00 +02:00
|
|
|
CONFIGURE_ARGS= --with-x-dir=${X11BASE} \
|
2000-10-23 21:38:27 +02:00
|
|
|
--with-qti18n \
|
2000-08-17 17:21:00 +02:00
|
|
|
--with-qt-include=${X11BASE}/include/X11/qt \
|
|
|
|
--with-qt-lib=${X11BASE}/lib \
|
|
|
|
--with-kde-dir=${LOCALBASE}
|
2000-09-28 12:50:35 +02:00
|
|
|
MAKE_ARGS= LOCAL_LIBS=-lgcc
|
2000-09-07 09:44:38 +02:00
|
|
|
INSTALL_TARGET= site-install
|
2000-08-13 19:55:52 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-04-06 19:21:29 +02:00
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
|
|
|
${CP} -R ${WRKSRC}/examples/ ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
|
|
|
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_DOCDIR}/${PORTNAME}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.jp.txt ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
2000-08-13 19:55:52 +02:00
|
|
|
.endif
|
|
|
|
|
2000-09-26 10:02:17 +02:00
|
|
|
.include <bsd.port.mk>
|