aboutsummaryrefslogtreecommitdiff
path: root/games/yadex
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2008-01-25 15:39:53 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2008-01-25 15:39:53 +0000
commitfb194239f65a818bd0b4a31889ea8e3ea7e778f8 (patch)
treefe43123446c41fc40fa41aa063ba2306ba414355 /games/yadex
parent2553708b5bf69c0d522ab803ca6a9b7d7cd3a73c (diff)
downloadports-fb194239f65a818bd0b4a31889ea8e3ea7e778f8.tar.gz
ports-fb194239f65a818bd0b4a31889ea8e3ea7e778f8.zip
Notes
Diffstat (limited to 'games/yadex')
-rw-r--r--games/yadex/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/games/yadex/Makefile b/games/yadex/Makefile
index 7273fb7f008c..dbebe04c1af6 100644
--- a/games/yadex/Makefile
+++ b/games/yadex/Makefile
@@ -28,7 +28,7 @@ MAN6= yadex.6
OPTIONS= WHITE_BG "Use alternative (black-on-white) color scheme" off \
3D_RENDER "Build with a 3D preview function" off \
SEARCH "Search for a thing, linedef or sector by type" off \
- EXTRA_TOOLS "Add a few extra tools to Yadex's repertoire" off \
+ EXTRA_TOOLS "Add a few extra tools to Yadex' repertoire" off \
LAPTOP_KEYS "Key bindings to make editing easier on laptops" off
.include <bsd.port.pre.mk>
@@ -40,25 +40,20 @@ PATCH_PREFIX= ${PORTNAME:U:C/^(.).*$/\1/g}${PORTNAME:C/^(.)//}_${PORTVERSION:S/.
PATCH_SUFFIX= .diff
PATCHFILES= ${PATCH_PREFIX}_Depend${PATCH_SUFFIX}
-.if defined(WITH_3D_RENDER) || defined(WITH_SEARCH) \
- || defined(WITH_EXTRA_TOOLS) || defined(WITH_LAPTOP_KEYS)
-. if defined(WITH_3D_RENDER)
+.if defined(WITH_3D_RENDER)
PATCHFILES+= ${PATCH_PREFIX}_Render3D${PATCH_SUFFIX}
PLIST_SUB+= 3DRENDER=""
-. else
+.else
PLIST_SUB+= 3DRENDER="@comment "
-. endif
-. if defined(WITH_SEARCH)
+.endif
+.if defined(WITH_SEARCH)
PATCHFILES+= ${PATCH_PREFIX}_Find${PATCH_SUFFIX}
-. endif
-. if defined(WITH_EXTRA_TOOLS)
+.endif
+.if defined(WITH_EXTRA_TOOLS)
PATCHFILES+= ${PATCH_PREFIX}_Tools${PATCH_SUFFIX}
-. endif
-. if defined(WITH_LAPTOP_KEYS)
+.endif
+.if defined(WITH_LAPTOP_KEYS)
PATCHFILES+= ${PATCH_PREFIX}_Keys${PATCH_SUFFIX}
-. endif
-.else
-PLIST_SUB+= 3DRENDER="@comment "
.endif
.if defined(WITH_WHITE_BG)