Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2009 19:57:07 GMT
From:      "Philip M. Gollucci" <pgollucci@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tota@rtfm.jp
Subject:   ports/133577: [PATCH] japanese/ja-jpmobile: RUBYGEM_AUTOPLIST
Message-ID:  <200904101957.n3AJv7WQ027059@freefall.freebsd.org>
Resent-Message-ID: <200904102000.n3AK07fI027143@freefall.freebsd.org>

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

>Number:         133577
>Category:       ports
>Synopsis:       [PATCH] japanese/ja-jpmobile: RUBYGEM_AUTOPLIST
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 10 20:00:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
Riderway Inc.
>Environment:
System: FreeBSD freefall.freebsd.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #36: Mon Dec 29 15:15:30 UTC 2008
>Description:
- Convert to RUBYGEM_AUTOPLIST
- Use RF macro

Port maintainer (tota@rtfm.jp) is cc'd.

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

--- ja-jpmobile-0.0.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/japanese/rubygem-jpmobile/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile	6 Apr 2008 08:58:12 -0000	1.2
+++ Makefile	10 Apr 2009 19:56:21 -0000
@@ -8,8 +8,7 @@
 PORTNAME=	jpmobile
 PORTVERSION=	0.0.2
 CATEGORIES=	japanese www rubygems
-MASTER_SITES=	${MASTER_SITE_RUBYFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	RF
 
 MAINTAINER=	tota@rtfm.jp
 COMMENT=	A Rails plugin for Japanese mobile-phones
@@ -21,13 +20,6 @@
 
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
-
-post-install:
-	@${ECHO} ${GEM_CACHE} > ${TMPPLIST}
-	@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
-	@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
-	@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
-	@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
-	@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
+RUBYGEM_AUTOPLIST=	yes
 
 .include <bsd.port.mk>
--- ja-jpmobile-0.0.2.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?200904101957.n3AJv7WQ027059>