Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2004 23:39:20 -0600
From:      Travis Poppe <tlp@LiquidX.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68753: [MAINTAINER UPDATE]: games/wargus - fix wrkdir/pkg-message
Message-ID:  <20040706233920.1ec00a69@maya.liquidx.org>
Resent-Message-ID: <200407070540.i675ePVV030025@freefall.freebsd.org>

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

>Number:         68753
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] games/wargus - fix wrkdir/pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 07 05:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Travis Poppe
>Release:        
>Organization:
>Environment:
>Description:
Fixed problem reported by kris about creating new stuff in ${WRKDIR}. Port 
revision should not be bumped because the package content has not changed.
>How-To-Repeat:
>Fix:
--- Makefile.orig	Tue Jul  6 23:28:30 2004
+++ Makefile	Tue Jul  6 23:36:47 2004
@@ -23,6 +23,7 @@
 USE_REINPLACE=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+PKGMESSAGE=	${WRKDIR}/pkg-message
 
 do-install:
 	${MKDIR} ${PREFIX}/share/wargus
@@ -58,7 +59,7 @@
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
 	@(cp ${FILESDIR}/wargus.in ${WRKDIR}/wargus)
 	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKDIR}/wargus
-	@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
+	@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/pkg-message.in > ${WRKDIR}/pkg-message
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
>Release-Note:
>Audit-Trail:
>Unformatted:



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