freebsd-ports/games/quake-data/Makefile.include
Alexey Dokuchaev f489f39a47 - Convert to contemporary OPTIONS framework
- Cleanup Makefiles, improve port description
- Relinquish maintainership
2013-03-16 13:46:09 +00:00

19 lines
474 B
Text

# Makefile for defining variables used by other Quake related ports. See
# `games/quake2-data/Makefile.include' for extensive description.
# 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