Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  4 Aug 2006 09:47:45 +0400 (MSD)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101347: [MAINTAINER] lang/ruby-programmingruby: fix plg-plist
Message-ID:  <20060804054745.3285B1261B@fonon.realnet>
Resent-Message-ID: <200608041000.k74A0Qj1092916@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101347
>Category:       ports
>Synopsis:       [MAINTAINER] lang/ruby-programmingruby: fix plg-plist
>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:   Fri Aug 04 10:00:26 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug  2 21:44:37 MSD
>Description:
 - Deinstall RUBY_DOCDIR as well

I removed the following files:
- pkg-plist

>How-To-Repeat:
>Fix:

--- ruby18-programmingruby-0.4_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/ruby-programmingruby/Makefile /var/tmp/ruby-programmingruby/Makefile
--- /usr/ports/lang/ruby-programmingruby/Makefile	Mon Jul 24 17:24:08 2006
+++ /var/tmp/ruby-programmingruby/Makefile	Fri Aug  4 09:45:39 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	programmingruby
 PORTVERSION=	0.4
+PORTREVISION=	1
 CATEGORIES=	lang ruby
 MASTER_SITES=	http://dev.rubycentral.com/downloads/files/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
@@ -24,12 +25,17 @@
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 DOCSDIR=	${RUBY_MODDOCDIR}
-PORTDOCS=	*
 
 do-install:
 	${MKDIR} ${RUBY_MODDOCDIR}
 	@${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} -C ${RUBY_MODDOCDIR}
 	@${FIND} ${RUBY_MODDOCDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
 	@${FIND} ${RUBY_MODDOCDIR}/ -type f -exec ${CHOWN} ${SHAREOWN} {} \;
+	@${FIND} -d ${RUBY_MODDOCDIR}/ -type f | \
+		${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} -d ${RUBY_MODDOCDIR}/ -type d | \
+		${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+	@${ECHO_CMD} "@unexec rmdir ${RUBY_DOCDIR} 2>/dev/null || true" \
+		>> ${TMPPLIST}
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/lang/ruby-programmingruby/pkg-plist /var/tmp/ruby-programmingruby/pkg-plist
--- /usr/ports/lang/ruby-programmingruby/pkg-plist	Mon Jul 24 17:24:08 2006
+++ /var/tmp/ruby-programmingruby/pkg-plist	Thu Jan  1 03:00:00 1970
@@ -1 +0,0 @@
-@dirrmtry %%RUBY_DOCDIR%%
--- ruby18-programmingruby-0.4_1.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060804054745.3285B1261B>