6e0c050321
makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD when determining whether the native makeinfo can be used. * Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo. * Get rid of all the "split" argument deduction for makeinfo since the PLIST module already handles varying numbers of split info files correctly. NOTE: Platforms that have "makeinfo" in the base system should check that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are correct.
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.35 2006/03/05 16:27:26 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= Gauche-0.8.6
|
|
PKGREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= minoura@NetBSD.org
|
|
HOMEPAGE= http://www.shiro.dreamhost.com/scheme/gauche/index.html
|
|
COMMENT= R5RS Scheme implementation aimed to be a handy tool for daily works
|
|
|
|
DEPENDS+= slib-[0-9]*:../../devel/slib
|
|
|
|
.include "options.mk"
|
|
|
|
# This is ad-hoc. TRT would be to fix configure scripts, but that
|
|
# would be also very tedious...
|
|
SUBST_CLASSES+= lgdbm
|
|
SUBST_STAGE.lgdbm= pre-configure
|
|
SUBST_FILES.lgdbm= configure
|
|
SUBST_SED.lgdbm= -e 's|"-lgdbm"|"${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gdbm}/lib -lgdbm"|g'
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-slib=${PREFIX}/share/slib
|
|
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
|
|
CONFIGURE_ARGS+= --enable-multibyte=utf-8
|
|
CONFIGURE_ARGS+= --enable-threads=none # must match w/ boehm-gc
|
|
CONFIGURE_ENV+= AS="${CC} -x assembler-with-cpp -c"
|
|
|
|
_WITH_ICONV_LIB= ${BUILDLINK_LIBICONV_LDADD:M-l*:C/-l//}
|
|
LDFLAGS+= ${BUILDLINK_LIBICONV_LDADD}
|
|
|
|
USE_TOOLS+= gzip makeinfo
|
|
INFO_FILES= gauche-refe.info gauche-refj.info
|
|
|
|
post-install:
|
|
gzip -d ${PREFIX}/info/gauche-ref*gz
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
.if !empty(_WITH_ICONV_LIB)
|
|
CONFIGURE_ARGS+= --with-iconv-lib=${_WITH_ICONV_LIB:Q}
|
|
.else
|
|
BUILDLINK_TRANSFORM+= rm:-liconv
|
|
.endif
|