1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Remove USE_AUTOTOOLS

- Define some variable before including bsd.port.options.mk
This commit is contained in:
Tijl Coosemans 2014-09-25 09:20:43 +00:00
parent 0033b07d09
commit 4f95e7a2cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369226

View File

@ -16,8 +16,17 @@ LICENSE= GPLv2
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/eb.so:${PORTSDIR}/japanese/ruby-eb
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-edict="${EDICT_FILE}" \
--with-ruby="${RUBY}"
USES= libtool
USE_RUBY= yes
USE_XORG= x11 xt xext ice sm
DOCS_EN= AUTHORS ChangeLog INSTALL NEWS README TODO \
addin/ADDIN.ChangeLog addin/ADDIN.txt
DOCS_JA= addin/README.searcheb.ja
OPTIONS_DEFINE= UTF8
OPTIONS_DEFAULT= UTF8
@ -31,18 +40,8 @@ EDICT_FILE= ${LOCALBASE}/share/dict/edict/edict
RUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict
.endif
USE_RUBY= yes
USE_AUTOTOOLS= autoconf213
USES= libtool
CONFIGURE_ARGS= --with-edict="${EDICT_FILE}" \
--with-ruby="${RUBY}"
DOCS_EN= AUTHORS ChangeLog INSTALL NEWS README TODO \
addin/ADDIN.ChangeLog addin/ADDIN.txt
DOCS_JA= addin/README.searcheb.ja
post-extract:
${MV} ${WRKSRC}/addin/ChangeLog ${WRKSRC}/addin/ADDIN.ChangeLog
post-patch:
@${MV} ${WRKSRC}/addin/ChangeLog ${WRKSRC}/addin/ADDIN.ChangeLog
post-install:
.if ${PORT_OPTIONS:MDOCS}