2011-09-16 07:41:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2011/09/16 11:41:41 espie Exp $
|
2007-01-18 05:38:47 -05:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= Ruby interface to hyperestraier
|
2007-01-18 05:38:47 -05:00
|
|
|
|
2008-01-12 10:16:07 -05:00
|
|
|
DISTNAME= hyperestraier-1.4.13
|
2010-07-24 19:05:08 -04:00
|
|
|
PKGNAME= ruby-hyperestraier-1.0.0
|
2011-09-16 07:41:38 -04:00
|
|
|
REVISION = 21
|
2007-01-18 05:38:47 -05:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
|
|
|
HOMEPAGE= http://hyperestraier.sourceforge.net/
|
|
|
|
|
2010-09-23 18:10:28 -04:00
|
|
|
MAINTAINER= Jeremy Evans <jeremy@openbsd.org>
|
2007-01-18 05:38:47 -05:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hyperestraier/}
|
|
|
|
|
2011-07-12 14:06:23 -04:00
|
|
|
FLAVORS = ruby19
|
|
|
|
FLAVOR ?=
|
|
|
|
.if ${FLAVOR:L:Mruby19}
|
|
|
|
MODRUBY_REV = 1.9
|
|
|
|
FULLPKGNAME = ruby19-hyperestraier-1.0.0
|
|
|
|
BIN_SUFFIX = 19
|
|
|
|
.else
|
|
|
|
BIN_SUFFIX =
|
|
|
|
.endif
|
|
|
|
SUBST_VARS += BIN_SUFFIX
|
|
|
|
|
2010-11-09 13:47:57 -05:00
|
|
|
WANTLIB= c m pthread estraier ${MODRUBY_WANTLIB}
|
2007-01-18 05:38:47 -05:00
|
|
|
MODULES= lang/ruby
|
|
|
|
|
2009-08-10 12:48:27 -04:00
|
|
|
LIB_DEPENDS= ${MODRUBY_LIB_DEPENDS} \
|
2010-11-20 14:56:47 -05:00
|
|
|
textproc/hyperestraier
|
2007-01-18 05:38:47 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
2011-07-12 14:06:23 -04:00
|
|
|
CONFIGURE_ENV = RUBY=${RUBY} RDOC=`echo ${RUBY} | sed s/ruby/rdoc/`
|
2007-01-18 05:38:47 -05:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIST}/rubynative
|
|
|
|
|
|
|
|
post-install:
|
2011-07-12 14:06:23 -04:00
|
|
|
.if ${FLAVOR:L:Mruby19}
|
|
|
|
mv ${PREFIX}/bin/estcmd{,19}.rb
|
|
|
|
.endif
|
2010-11-09 13:47:57 -05:00
|
|
|
${INSTALL_DATA_DIR} ${MODRUBY_EXAMPLEDIR}/hyperestraier
|
2007-01-18 05:38:47 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/example/*.rb \
|
2010-11-09 13:47:57 -05:00
|
|
|
${MODRUBY_EXAMPLEDIR}/hyperestraier
|
2007-01-18 05:38:47 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|