File:  [cvs.NetBSD.org] / pkgsrc / www / ruby-borges / Makefile
Revision 1.22: download - view: text, annotated - select for diffs
Mon Sep 4 18:01:04 2017 UTC (7 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, HEAD
Comment out dead sites.

# $NetBSD: Makefile,v 1.22 2017/09/04 18:01:04 wiz Exp $

DISTNAME=	borges-1.1.0
PKGREVISION=	2
CATEGORIES=	www ruby
MASTER_SITES=	http://rubyforge.org/frs/download.php/574/
MASTER_SITES+=	http://segment7.net/projects/ruby/borges/

MAINTAINER=	pkgsrc-users@NetBSD.org
#HOMEPAGE=	http://borges.rubyforge.org/
COMMENT=	Ruby web application framework
LICENSE=	modified-bsd

USE_RUBY_SETUP=		yes
CONFIGURE_ARGS+=	--site-ruby-common=${PREFIX}/${RUBY_VENDORLIB_BASE} \
			--site-ruby=${PREFIX}/${RUBY_VENDORLIB} \
			--so-dir=path=${PREFIX}/${RUBY_VENDORARCHLIB}

BORGES_SHARE_DIR=	data/doc data/examples

.include "../../lang/ruby/rubyversion.mk"

.if !empty(RUBY_SUFFIX)
pre-configure:
.for d in ${BORGES_SHARE_DIR}
	cd ${WRKSRC}; if [ -d ${d}/ruby ]; then \
		 ${MV} -f ${d}/ruby ${d}/${RUBY_NAME}; \
	fi
.endfor
.endif

.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>