ports/127090: [MAINTAINER] irc/rbot: fix NOPORTDOCS bug, add dependency

Yi-Jheng Lin yzlin at cs.nctu.edu.tw
Thu Sep 4 15:20:01 UTC 2008


>Number:         127090
>Category:       ports
>Synopsis:       [MAINTAINER] irc/rbot: fix NOPORTDOCS bug, add dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 04 15:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.0-RELEASE-p1 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Thu Apr 17 15:56:39 CST 2008
>Description:

- Fix NOPORTDOCS bug
- Add a new dependency (devel/ruby-gettext), 
  which reqired by default translation function.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- rbot-0.9.13_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/irc/rbot/Makefile /amd/account/gcs/96/9655630/dev/ports/irc/rbot/Makefile
--- /usr/ports/irc/rbot/Makefile	2008-09-04 22:58:42.281686505 +0800
+++ /amd/account/gcs/96/9655630/dev/ports/irc/rbot/Makefile	2008-09-04 22:31:45.000000000 +0800
@@ -7,6 +7,7 @@
 
 PORTNAME=	rbot
 PORTVERSION=	0.9.13
+PORTREVISION=	1
 CATEGORIES=	irc ruby
 MASTER_SITES=	http://ruby-rbot.org/download/
 EXTRACT_SUFX=	.tgz
@@ -14,7 +15,8 @@
 MAINTAINER=	yzlin at cs.nctu.edu.tw
 COMMENT=	Ruby IRC bot similar to infobot
 
-RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
+RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb \
+		${RUBY_SITEARCHLIBDIR}/locale_system.so:${PORTSDIR}/devel/ruby-gettext
 
 USE_RUBY=	yes
 USE_RUBY_SETUP=	yes
@@ -26,8 +28,10 @@
 PORTDOCS=	README REQUIREMENTS ChangeLog
 
 post-install:
+.if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
 	@${CAT} ${PKGMESSAGE}
+.endif
 
 .include <bsd.port.mk>
--- rbot-0.9.13_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list