diff options
Diffstat (limited to 'games/duke3d-data/Makefile.include')
-rw-r--r-- | games/duke3d-data/Makefile.include | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/games/duke3d-data/Makefile.include b/games/duke3d-data/Makefile.include index 6dec3b5c608f..ec9f21e91030 100644 --- a/games/duke3d-data/Makefile.include +++ b/games/duke3d-data/Makefile.include @@ -5,27 +5,21 @@ # is installed (i.e. no need for pkg-message asking to copy duke3d.grp). # # The following variables are defined, and can be used in the port. -# DN3DPKGNAMEPREFIX - The package name prefix for Duke Nukem 3D additions. +# DN3DPKGNAMEPREFIX - The package name prefix for Duke Nukem 3D additions # DN3DDIR - The Duke Nukem 3D data directory (also added to -# MAKE_ENV, PLIST_SUB and SUB_LIST). +# MAKE_ENV, PLIST_SUB, and SUB_LIST) # # For notes about this kind of ports see /usr/ports/games/quake2-data (some # rules apply to this ports, like search paths). # -# Set variables. - -DN3DPKGNAMEPREFIX?=duke3d- +DN3DPKGNAMEPREFIX?= duke3d- DN3DDIR?= ${LOCALBASE}/share/duke3d -# Add them to the ports system. - MAKE_ENV+= DN3DDIR="${DN3DDIR}" PLIST_SUB+= DN3DDIR="${DN3DDIR:S/${LOCALBASE}\///}" SUB_LIST+= DN3DDIR="${DN3DDIR}" -# Add the dependency. - .if ${PORTNAME} != "data" RUN_DEPENDS+= ${DN3DDIR}:${PORTSDIR}/games/duke3d-data .endif |