aboutsummaryrefslogblamecommitdiff
path: root/games/quake-data/Makefile.include
blob: 523db43902e43a7bb77d62c9f85fc05d060a76a8 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                    
                
 

                                        
 
                              
 


                                                   
 
                     



                                                                  
# 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