1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/quake2-data/Makefile.include
Edwin Groothuis e0c091c3ce [MAINTAINER UPDATE] games/quake2-data: redesign, patch dependant ports
- 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>
2005-12-28 21:15:32 +00:00

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