1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/x11-toolkits/ruby-fltk/Makefile
Akinori MUSHA c68548820c Now bsd.ruby.mk is automatically included by bsd.port.mk when USE_RUBY
or USE_LIBRUBY is defined, individual ruby ports no longer need to
include it explicitly.
2000-09-26 08:02:17 +00:00

42 lines
1001 B
Makefile

# New ports collection makefile for: Ruby-FLTK
# Date created: 25 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= fltk
PORTVERSION= 20000618
CATEGORIES= x11-toolkits ruby
MASTER_SITES= http://kt-www.jaist.ac.jp:8000/~ttate/ftp/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
USE_MESA= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
INSTALL_TARGET= site-install
CONFIGURE_ARGS= --with-fltk-dir="${X11BASE}" --with-gl-dir="${X11BASE}"
MAKE_ARGS= LOCAL_LIBS="-lgcc"
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/fltk
${INSTALL_DATA} ${WRKSRC}/test/adjuster.rb ${RUBY_EXAMPLESDIR}/fltk/
${MKDIR} ${RUBY_DOCDIR}/fltk/ja
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/fltk/
${INSTALL_DATA} ${WRKSRC}/README.jp ${RUBY_DOCDIR}/fltk/ja/
.endif
.include <bsd.port.mk>