summaryrefslogtreecommitdiffstats
path: root/japanese/kterm/Makefile
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-04-17 00:18:05 +0000
committerreg <reg@FreeBSD.org>2000-04-17 00:18:05 +0000
commit8b766534122d71052c9f8e5a0752944edf0450f8 (patch)
tree255862bd3b0c32802317a9ddc3193fd714753916 /japanese/kterm/Makefile
parente0c8ef49d897de0719277097a1e6578f291f493e (diff)
downloadFreeBSD-ports-8b766534122d71052c9f8e5a0752944edf0450f8.zip
FreeBSD-ports-8b766534122d71052c9f8e5a0752944edf0450f8.tar.gz
Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports
Diffstat (limited to 'japanese/kterm/Makefile')
-rw-r--r--japanese/kterm/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile
index ecf568a..7e1c435 100644
--- a/japanese/kterm/Makefile
+++ b/japanese/kterm/Makefile
@@ -36,27 +36,22 @@ DOCDIR= ${PREFIX}/share/doc/kterm
.if !defined(PACKAGE_BUILDING)
-.if defined(USE_XAW3DLIB) && defined(USE_NEXTAWLIB)
-.if (${USE_XAW3DLIB} == "YES") && (${USE_NEXTAWLIB} == "YES")
+.if defined(WITH_XAW3DLIB) && defined(WITH_NEXTAWLIB)
.BEGIN:
- @${ECHO} "Error: \$${USE_XAW3DLIB} and \$${USE_NEXTAWLIB} cannot be specified simultaneously!"
+ @${ECHO} "Error: \$${WITH_XAW3DLIB} and \$${WITH_NEXTAWLIB} cannot be specified simultaneously!"
@${FALSE}
-.endif
-.elif defined(USE_XAW3DLIB)
-.if (${USE_XAW3DLIB} == "YES")
+.elif defined(WITH_XAW3DLIB)
LIB_DEPENDS+= Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d
post-patch:
@${ECHO_MSG} "===> Applying Xaw3d scrollbar patch"
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-Xaw3d
-.endif
-.elif defined(USE_NEXTAWLIB)
-.if (${USE_NEXTAWLIB} == "YES")
+.elif defined(WITH_NEXTAWLIB)
LIB_DEPENDS+= neXtaw.6:${PORTSDIR}/x11-toolkits/neXtaw
post-patch:
@${ECHO_MSG} "===> Applying neXtaw scrollbar patch"
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-neXtaw
.endif
-.endif
+
.endif
post-install:
OpenPOWER on IntegriCloud