diff options
author | danfe <danfe@FreeBSD.org> | 2008-01-25 15:39:53 +0000 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2008-01-25 15:39:53 +0000 |
commit | 1b014008f4512c292bd6b400802b1d203fed2489 (patch) | |
tree | 56f2150517a680a07768c7ca0f3ab0cc8354b562 | |
parent | 7818b303901a6b9293c61557192f12fe5e64f00d (diff) | |
download | FreeBSD-ports-1b014008f4512c292bd6b400802b1d203fed2489.zip FreeBSD-ports-1b014008f4512c292bd6b400802b1d203fed2489.tar.gz |
- Simplify logic
- Minor spelling nit
-rw-r--r-- | games/yadex/Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/games/yadex/Makefile b/games/yadex/Makefile index 7273fb7..dbebe04 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) |