mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
76e493f9df
PR: 86539 Submitted by: IWATSUKI Hiroyuki <don@na.rim.or.jp> Approved by: Alexander Novitsky <alecn2002@yandex.ru> (maintainer), novel (mentor) (implicit)
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# New ports collection makefile for: ruby-htmltools
|
|
# Date created: 2005-03-31
|
|
# Whom: Alexander Novitsky <alecn2002@yandex.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= htmltools
|
|
PORTVERSION= 1.09
|
|
CATEGORIES= textproc ruby
|
|
MASTER_SITES= http://rubyforge.org/frs/download.php/1340/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= alecn2002@yandex.ru
|
|
COMMENT= Tools for parsing and manipulating HTML text in Ruby
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_SETUP= yes
|
|
RUBY_SETUP= install.rb
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
RUBY_INSTALL_ARGS= --prefix=${PREFIX}
|
|
NOHARM_ARGS= --no-harm
|
|
WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
|
|
|
|
install-noharm:
|
|
@${ECHO_MSG} "===> Running ${RUBY_SETUP} to NOHARM-install (Just output, do nothing)"
|
|
cd ${WRKSRC}; \
|
|
${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install ${NOHARM_ARGS} ${RUBY_INSTALL_ARGS}
|
|
|
|
do-install:
|
|
@${ECHO_MSG} "===> Running ${RUBY_SETUP} to install"
|
|
@cd ${INSTALL_WRKSRC}; \
|
|
${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install ${RUBY_INSTALL_ARGS}
|
|
|
|
.include <bsd.port.mk>
|