aboutsummaryrefslogtreecommitdiff
path: root/japanese/dbskkd-cdb
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-04-17 00:18:05 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-04-17 00:18:05 +0000
commit877b8a533b44bb6324ebbaf65cd80a60d1572003 (patch)
treee1a018208ceade04ca56a70c5184978cac51853e /japanese/dbskkd-cdb
parentd12f14432cc492205cefb505a3c1320dd0f4e31a (diff)
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
Notes
Notes: svn path=/head/; revision=27679
Diffstat (limited to 'japanese/dbskkd-cdb')
-rw-r--r--japanese/dbskkd-cdb/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/japanese/dbskkd-cdb/Makefile b/japanese/dbskkd-cdb/Makefile
index 20e25cc892d8..675fae71394c 100644
--- a/japanese/dbskkd-cdb/Makefile
+++ b/japanese/dbskkd-cdb/Makefile
@@ -34,9 +34,8 @@ post-install:
.include <bsd.port.pre.mk>
-.if defined(USE_INSTALLED_JISYO) && ${USE_INSTALLED_JISYO} == YES || \
- exists(${LOCALBASE}/share/skk/${SKKJISYO}) && \
- (!defined(USE_INSTALLED_JISYO) || ${USE_INSTALLED_JISYO} != NO)
+.if defined(WITH_JISYO) || (exists(${LOCALBASE}/share/skk/${SKKJISYO}) \
+ && !defined(WITHOUT_JISYO))
pre-build::
@${CP} ${LOCALBASE}/share/skk/${SKKJISYO} ${WRKSRC}
.else
@@ -45,9 +44,8 @@ pre-build::
@${CP} ${PORTSDIR}/japanese/skk-jisyo/work/*/jisyo/${SKKJISYO} ${WRKSRC}
.endif
-.if defined(USE_INSTALLED_CDB) && ${USE_INSTALLED_CDB} == YES || \
- exists(${LOCALBASE}/lib/libcdb.a) && exists(${LOCALBASE}/bin/cdbmake) && \
- (!defined(USE_INSTALLED_CDB) || ${USE_INSTALLED_CDB} != NO)
+.if defined(WITH_CDB) || (exists(${LOCALBASE}/lib/libcdb.a) && \
+ exists(${LOCALBASE}/bin/cdbmake) && !defined(WITHOUT_CDB))
pre-build::
@${CP} ${LOCALBASE}/lib/libcdb.a ${LOCALBASE}/bin/cdbmake ${WRKSRC}
@(cd ${WRKSRC}; SKKJISYO=${SKKJISYO} ./makeskkcdb.sh)