1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/games/quake-data/Makefile.include
Renato Botelho 506e4ece92 - Changed quake-data/Makefile.include to be more similar to bsd.*.mk files,
also it doesn't override port's variables.
- Change dependant ports.

PR:		ports/90145
Submitted by:	maintainer
2005-12-12 09:25:24 +00:00

19 lines
405 B
Makefile

# Makefile for defining variables used by other Quake related ports.
# Set variables.
Q1PKGNAMEPREFIX?=quake-
Q1DIR?= ${LOCALBASE}/share/quake
# Add them to the environment.
MAKE_ENV+= Q1DIR="${Q1DIR}"
PLIST_SUB+= Q1DIR="${Q1DIR:S/${LOCALBASE}\///}"
SUB_LIST+= Q1DIR="${Q1DIR}"
# Add the dependency.
.if ${PORTNAME} != "data"
RUN_DEPENDS+= ${Q1DIR}/id1/pak0.pak:${PORTSDIR}/games/quake-data
.endif