30b55df38e
MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
33 lines
886 B
Makefile
33 lines
886 B
Makefile
# $NetBSD: Makefile,v 1.21 2017/01/19 18:52:29 agc 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"
|