ports/83008: Fix plist/pkg-message
Dima Panov
redfox at Fluffy.Khv.RU
Tue Jul 5 12:10:18 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list