Bug 86166 - [NEW PORT] games/quake-data - Quake data files
Summary: [NEW PORT] games/quake-data - Quake data files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-15 17:40 UTC by Alejandro Pulver
Modified: 2005-10-16 06:36 UTC (History)
0 users

See Also:


Attachments
quake-data.shar (17.13 KB, text/plain)
2005-09-15 17:40 UTC, Alejandro Pulver
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Pulver 2005-09-15 17:40:16 UTC

    
Comment 1 Alejandro Pulver 2005-09-19 18:27:14 UTC
>Submitter-Id:	current-users 
>Originator:	Alejandro Pulver 
>Organization:	 
>Confidential:	no 
>Synopsis:	Re: ports/86166: [NEW PORT] games/quake-data - Quake data files 
>Severity:	non-critical 
>Priority:	low 
>Category:	ports 
>Class:		change-request 
>Release:	FreeBSD 5.4-RELEASE i386 
>Environment:





>Description:


This patch has to be applied to the previous shar.

Changes:
* Don't override PREFIX.
* Use SUB_LIST instead of PLIST_SUB (allowing to use it in wrapper scripts).


>How-To-Repeat:





>Fix:


--- quake-data.diff begins here ---
--- pkgd/sent/quake-data.shar	Thu Sep 15 13:33:54 2005
+++ quake-data.shar	Mon Sep 19 14:23:29 2005
@@ -347,8 +347,7 @@
 X
 X# Installation directories.
 X
-XPREFIX=		${LOCALBASE}
-XQ1DIR=		${PREFIX}/share/quake
+XQ1DIR=		${LOCALBASE}/share/quake
 X
 X.if defined(ENGINE) || ${PORTNAME} == "data"
 XDATADIR?=	${Q1DIR}
@@ -358,7 +357,7 @@
 X
 XDOCSDIR?=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 X
-XPLIST_SUB+=	Q1DIR="${Q1DIR:S/${PREFIX}\///}"
+XSUB_LIST+=	Q1DIR="${Q1DIR}"
 END-of-quake-data/Makefile.include
 exit
 
--- quake-data.diff ends here ---
Comment 2 Alejandro Pulver 2005-09-19 20:12:04 UTC
>Submitter-Id:	current-users 
>Originator:	Alejandro Pulver 
>Organization:	 
>Confidential:	no 
>Synopsis:	Re: ports/86166: [NEW PORT] games/quake-data - Quake data files 
>Severity:	non-critical 
>Priority:	low 
>Category:	ports 
>Class:		change-request 
>Release:	FreeBSD 5.4-RELEASE i386 
>Environment:





>Description:


This patch replaces the previous one.

Changes:
* Change "SUB_LIST" back to "PLIST_SUB".


>How-To-Repeat:





>Fix:


--- new.diff begins here ---
--- pkgd/sent/quake-data.shar	Thu Sep 15 13:33:54 2005
+++ quake-data.shar	Mon Sep 19 16:08:49 2005
@@ -347,8 +347,7 @@
 X
 X# Installation directories.
 X
-XPREFIX=		${LOCALBASE}
-XQ1DIR=		${PREFIX}/share/quake
+XQ1DIR=		${LOCALBASE}/share/quake
 X
 X.if defined(ENGINE) || ${PORTNAME} == "data"
 XDATADIR?=	${Q1DIR}
--- new.diff ends here ---
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2005-10-16 06:36:37 UTC
State Changed
From-To: open->closed

Committed, thanks!