Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2005 22:36:38 +1100 (VLAST)
From:      Dima Panov <redfox@Fluffy.Khv.RU>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/83008: Fix plist/pkg-message
Message-ID:  <200507051136.j65Bacq5071151@Fluffy.Khv.RU>
Resent-Message-ID: <200507051210.j65CAH0A062072@freefall.freebsd.org>

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

>Number:         83008
>Category:       ports
>Synopsis:       Fix plist/pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 05 12:10:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dima Panov
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Twilight Zone
>Environment:
System: FreeBSD Fluffy.Khv.RU 4.10-STABLE FreeBSD 4.10-STABLE #0: Wed Sep 29 07:01:00 VLAST 2004 root@Fluffy.Khv.RU:/usr/obj/usr/src4/sys/FLUFFY i386


	
>Description:
	Fix pkg-message/plist issue for misc/fortune-mod-futurama
    
>How-To-Repeat:
	
>Fix:

	

Index: misc/fortune-mod-futurama/Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/fortune-mod-futurama/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- misc/fortune-mod-futurama/Makefile	16 Aug 2004 06:55:35 -0000	1.7
+++ misc/fortune-mod-futurama/Makefile	5 Jul 2005 11:09:37 -0000
@@ -19,6 +19,11 @@
 PLIST_FILES=	share/games/fortune/futurama share/games/fortune/futurama.dat
 PLIST_DIRS=	share/games/fortune share/games
 
+PKGMESSAGE=	${WRKDIR}/pkg-message
+
+post-patch:
+	@${CAT} pkg-message | ${SED} 's|PREFIX|${PREFIX}|' > ${PKGMESSAGE}
+
 do-build:
 	@cd ${WRKSRC} && /usr/games/strfile futurama
 
@@ -27,7 +32,4 @@
 	@${MKDIR} ${PREFIX}/share/games/fortune
 	@${INSTALL_DATA} ${WRKSRC}/futurama* ${PREFIX}/share/games/fortune
 
-post-install:
-	@${SED} 's#PREFIX#${PREFIX}#' <pkg-message
-
 .include <bsd.port.mk>


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



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