freebsd-ports/www/rubygem-scrapi/Makefile
Stanislav Sedov fae8e0f615 - Add ruby 1.9 support
- Implement new knobs for gems and rake (these are included in
  ruby 1.9 distribution already). Also move gem bits from
  ruby-gems/Makefile.common to bsd.ruby.mk[1]. Now to depend
  on gems or rake you should define USE_RUBYGEMS/USE_RAKE
  accordingly. Also RAKE_BIN variable is provided for
  pointing to the right rake executable.
- Rewrite RUBY_SCHEBANG in awk to eliminate build dependency
  on ruby.

Discussed with:	Jonathan Weiss <jw@innerewut.de> [1] (gems maintainer)
Tested by:	ports@
2008-04-06 08:58:21 +00:00

31 lines
791 B
Makefile

# New ports collection makefile for: rubygem-scrapi
# Date created: 29 Jan 2007
# Whom: IWATSUKI Hiroyuki <don@na.rim.or.jp>
#
# $FreeBSD$
#
PORTNAME= scrapi
PORTVERSION= 1.2.0
CATEGORIES= www rubygems
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= don@na.rim.or.jp
COMMENT= A scrAPI toolkit for Ruby
BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/tidy-1.1.2.gemspec:${PORTSDIR}/textproc/rubygem-tidy \
tidy:${PORTSDIR}/www/tidy-lib
USE_RUBY= yes
USE_RUBYGEMS= yes
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
post-install:
${RM} -f ${LOCALBASE}/${GEM_LIB_DIR}/lib/tidy/libtidy.dll
${RM} -f ${LOCALBASE}/${GEM_LIB_DIR}/lib/tidy/libtidy.so
${LN} -sf ${LOCALBASE}/lib/libtidy.so ${LOCALBASE}/${GEM_LIB_DIR}/lib/tidy/
.include <bsd.port.post.mk>