1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Add LICENSE

- Remove outdated RUBY_VER check
- Support STAGEDIR
- While I'm here, silence post-extract: message and unsilence installation message

PR:		ports/184212
Submitted by:	Vladimir Kondratiev <wulf@cicgroup.ru> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-25 19:58:56 +00:00
parent d21373be34
commit 768f6c529c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334892

View File

@ -9,31 +9,23 @@ MASTER_SITES= RG
MAINTAINER= wulf@cicgroup.ru
COMMENT= Fast implementation of the standard Ruby debugger
LICENSE= BSD
FETCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch
RUN_DEPENDS= rubygem-columnize>=0.3.1:${PORTSDIR}/devel/rubygem-columnize \
rubygem-debugger-linecache>=1.2.0:${PORTSDIR}/devel/rubygem-debugger-linecache
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
PLIST_FILES= bin/rdebug
MAN1= rdebug.1
PLIST_FILES= bin/rdebug man/man1/rdebug.1.gz
CONFIGURE_ARGS= --with-ruby-include=${WRKDIR}/ruby
post-extract:
${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; make -V WRKSRC` ${WRKDIR}/ruby
@${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; make -V WRKSRC` ${WRKDIR}/ruby
post-install:
@${INSTALL_MAN} ${WRKSRC}/man/rdebug.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/rdebug.1 ${STAGEDIR}${PREFIX}/man/man1
NO_STAGE= yes
.include <bsd.port.pre.mk>
BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch
.if ${RUBY_VER} == 1.8
BROKEN= does not work with ruby 1.8
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>