mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
e0c091c3ce
- Changed quake2-data/Makefile.include to be more similar to bsd.*.mk files, also it doesn't override port's variables. - Change dependant ports. PR: ports/90147 Subnmitted by: Alejandro Pulver <alejandro@varnet.biz>
19 lines
398 B
Makefile
19 lines
398 B
Makefile
# Makefile for defining variables used by other Quake II related ports.
|
|
|
|
# Set variables.
|
|
|
|
Q2PKGNAMEPREFIX?=quake2-
|
|
Q2DIR?= ${LOCALBASE}/share/quake2
|
|
|
|
# Add them to the environment.
|
|
|
|
MAKE_ENV+= Q2DIR="${Q2DIR}"
|
|
PLIST_SUB+= Q2DIR="${Q2DIR:S/${LOCALBASE}\///}"
|
|
SUB_LIST+= Q2DIR="${Q2DIR}"
|
|
|
|
# Add the dependency.
|
|
|
|
.if ${PORTNAME} != "data"
|
|
RUN_DEPENDS+= ${Q2DIR}:${PORTSDIR}/games/quake2-data
|
|
.endif
|