View | Details | Raw Unified | Return to bug 90145
Collapse All | Expand All

(-)quake-data/Makefile (+3 lines)
Lines 9-14 Link Here
9
PORTVERSION=	1.0.6
9
PORTVERSION=	1.0.6
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	http://www.libsdl.org/projects/quake/data/:qs
11
MASTER_SITES=	http://www.libsdl.org/projects/quake/data/:qs
12
PKGNAMEPREFIX=	${Q1PKGNAMEPREFIX}
12
DISTNAME=	quakesw-${PORTVERSION}
13
DISTNAME=	quakesw-${PORTVERSION}
13
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:qs
14
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:qs
14
DIST_SUBDIR=	${PKGNAMEPREFIX}${PORTNAME}
15
DIST_SUBDIR=	${PKGNAMEPREFIX}${PORTNAME}
Lines 25-30 Link Here
25
OPTIONS=	FULL "Install full version" off \
26
OPTIONS=	FULL "Install full version" off \
26
		QUAKEWORLD "Install QuakeWorld data" on \
27
		QUAKEWORLD "Install QuakeWorld data" on \
27
		QUAKEWORLD_SKINS "Install QuakeWorld skins" on
28
		QUAKEWORLD_SKINS "Install QuakeWorld skins" on
29
30
DATADIR=	${Q1DIR}
28
31
29
PROGFILE=	qwsv-2.30-glibc-i386-unknown-linux2.0.tar.gz
32
PROGFILE=	qwsv-2.30-glibc-i386-unknown-linux2.0.tar.gz
30
SKINFILES=	skinbase.zip qw_skins.zip
33
SKINFILES=	skinbase.zip qw_skins.zip
(-)quake-data/Makefile.include (-29 / +8 lines)
Lines 1-39 Link Here
1
# Makefile for defining variables used by other Quake related ports.
1
# Makefile for defining variables used by other Quake related ports.
2
2
3
# Determine if the port is a Quake engine.
3
# Set variables.
4
4
5
Q1ENGINES=	quakeforge darkplaces fuhquake tenebrae
5
Q1PKGNAMEPREFIX?=quake-
6
Q1DIR?=		${LOCALBASE}/share/quake
6
7
7
.for f in ${Q1ENGINES}
8
# Add them to the environment.
8
.   if ${PORTNAME} == ${f}
9
ENGINE=		yes
10
.   endif
11
.endfor
12
9
13
# Package name prefix.
10
MAKE_ENV+=	Q1DIR="${Q1DIR}"
11
PLIST_SUB+=	Q1DIR="${Q1DIR:S/${LOCALBASE}\///}"
12
SUB_LIST+=	Q1DIR="${Q1DIR}"
14
13
15
Q1PKGNAMEPREFIX=quake-
14
# Add the dependency.
16
17
.if !defined(ENGINE)
18
PKGNAMEPREFIX?=	${Q1PKGNAMEPREFIX}
19
.endif
20
21
# Dependency to "games/quake-data".
22
15
23
.if ${PORTNAME} != "data"
16
.if ${PORTNAME} != "data"
24
RUN_DEPENDS+=	${Q1DIR}/id1/pak0.pak:${PORTSDIR}/games/quake-data
17
RUN_DEPENDS+=	${Q1DIR}/id1/pak0.pak:${PORTSDIR}/games/quake-data
25
.endif
18
.endif
26
27
# Installation directories.
28
29
Q1DIR=		${LOCALBASE}/share/quake
30
31
.if defined(ENGINE) || ${PORTNAME} == "data"
32
DATADIR?=	${Q1DIR}
33
.else
34
DATADIR?=	${Q1DIR}/${PORTNAME}
35
.endif
36
37
DOCSDIR?=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
38
39
PLIST_SUB+=	Q1DIR="${Q1DIR}"
(-)quake-dpmod/Makefile (+3 lines)
Lines 9-14 Link Here
9
PORTVERSION=	20050818
9
PORTVERSION=	20050818
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	http://offload1.icculus.org/twilight/darkplaces/files/
11
MASTER_SITES=	http://offload1.icculus.org/twilight/darkplaces/files/
12
PKGNAMEPREFIX=	${Q1PKGNAMEPREFIX}
12
DISTNAME=	darkplacesmod${PORTVERSION}
13
DISTNAME=	darkplacesmod${PORTVERSION}
13
14
14
MAINTAINER=	alejandro@varnet.biz
15
MAINTAINER=	alejandro@varnet.biz
Lines 19-24 Link Here
19
USE_ZIP=	yes
20
USE_ZIP=	yes
20
NO_BUILD=	yes
21
NO_BUILD=	yes
21
NO_WRKSUBDIR=	yes
22
NO_WRKSUBDIR=	yes
23
24
DATDAIR=	${Q1DIR}/${PORTNAME}
22
25
23
post-extract:
26
post-extract:
24
# Remove CVS directories
27
# Remove CVS directories
(-)quake-reaper/Makefile (+3 lines)
Lines 9-14 Link Here
9
PORTVERSION=	0.81
9
PORTVERSION=	0.81
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	http://www.mindspring.com/~win32ch/
11
MASTER_SITES=	http://www.mindspring.com/~win32ch/
12
PKGNAMEPREFIX=	${Q1PKGNAMEPREFIX}
12
DISTNAME=	reaprb81
13
DISTNAME=	reaprb81
13
14
14
MAINTAINER=	alejandro@varnet.biz
15
MAINTAINER=	alejandro@varnet.biz
Lines 18-23 Link Here
18
USE_REINPLACE=	yes
19
USE_REINPLACE=	yes
19
NO_BUILD=	yes
20
NO_BUILD=	yes
20
NO_WRKSUBDIR=	yes
21
NO_WRKSUBDIR=	yes
22
23
DATADIR=	${Q1DIR}/${PORTNAME}
21
24
22
do-install:
25
do-install:
23
	@${MKDIR} ${DATADIR}
26
	@${MKDIR} ${DATADIR}
(-)fuhquake/Makefile (+2 lines)
Lines 39-44 Link Here
39
		X86_ASM "Enable x86 assembly code" on \
39
		X86_ASM "Enable x86 assembly code" on \
40
		XMMS "Enable MP3 Player feature" off
40
		XMMS "Enable MP3 Player feature" off
41
41
42
DATADIR=	${Q1DIR}
43
42
.include "${.CURDIR}/../quake-data/Makefile.include"
44
.include "${.CURDIR}/../quake-data/Makefile.include"
43
45
44
.include <bsd.port.pre.mk>
46
.include <bsd.port.pre.mk>
(-)tenebrae/Makefile (+2 lines)
Lines 26-31 Link Here
26
USE_REINPLACE=	yes
26
USE_REINPLACE=	yes
27
ONLY_FOR_ARCHS=	i386
27
ONLY_FOR_ARCHS=	i386
28
28
29
DATADIR=	${Q1DIR}
30
29
WRKSRC=		${WRKDIR}/${PORTNAME}_0
31
WRKSRC=		${WRKDIR}/${PORTNAME}_0
30
BUILD_WRKSRC=	${WRKSRC}/linux
32
BUILD_WRKSRC=	${WRKSRC}/linux
31
MAKE_ENV=	DATADIR="${DATADIR}" \
33
MAKE_ENV=	DATADIR="${DATADIR}" \

Return to bug 90145