1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/lang/gauche/Makefile
Rong-En Fan 77ec9a76f2 - Install info files correctly
PR:		ports/108194
Submitted by:	clemens fischer <ino-qc at spotteswoode.de.eu.org>
Approved by:	Erik Greenwald <erik at smluc.org> (maintainer)
2007-02-21 13:20:02 +00:00

72 lines
2.1 KiB
Makefile

# New ports collection makefile for: gauche
# Date created: 9 September 2002
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= gauche
PORTVERSION= 0.8.9 # Keep databases/gauche-gdbm in sync with this
PORTREVISION= 1
CATEGORIES= lang scheme
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= Gauche-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= erik@smluc.org
COMMENT= Scheme script interpreter with multibyte character handling
# Choices are: "pthreads" and "no", but it seems that FreeBSD does not
# yet fully support threads with Boehm GC.
GAUCHE_THREADS?= no
# Choices are: "utf-8", "euc-jp", "shift-jis" and "no"
GAUCHE_ENCODING?= utf-8
# breaks in ext/uvecor.c on some locales
MAKE_ENV= LANG=C
INFOSECTION= The Algorithmic Language Scheme
MAN1= gosh.1 \
gauche-config.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-threads=${GAUCHE_THREADS} \
--enable-multibyte=${GAUCHE_ENCODING} \
--with-slib=${LOCALBASE}/share/slib \
--with-iconv=${LOCALBASE}
PLIST_SUB= VERSION="${PORTVERSION}" \
TARGET="${CONFIGURE_TARGET}" \
INFOSECTION="${INFOSECTION}"
USE_ICONV= yes
INSTALLS_SHLIB= yes
INFO= gauche-refe gauche-refj
.include <bsd.port.pre.mk>
.if (${ARCH} == "ia64") || (${ARCH} == "sparc64")
BROKEN= Does not compile on ${ARCH}
.endif
post-build:
${REINPLACE_CMD} 's/gauche-refj. info/gauche-refj.info/' ${WRKSRC}/doc/gauche-refj.info
post-install:
${STRIP_CMD} ${PREFIX}/bin/gosh
${RM} -f ${PREFIX}/share/gauche/${PORTVERSION}/lib/slibcat
${MKDIR} ${PREFIX}/share/gauche/site/lib/.packages
${TOUCH} ${PREFIX}/share/gauche/site/lib/.packages/.keepme
${TOUCH} ${PREFIX}/lib/gauche/site/${PORTVERSION}/${CONFIGURE_TARGET}/.keepme
${MKDIR} ${PREFIX}/share/gauche/${PORTVERSION}/lib/.packages
${TOUCH} ${PREFIX}/share/gauche/${PORTVERSION}/lib/.packages/.keepme
${MKDIR} ${DOCSDIR}
${TOUCH} ${DOCSDIR}/.keepme
${MKDIR} ${EXAMPLESDIR}
${TOUCH} ${EXAMPLESDIR}/.keepme
.if !defined(NOPORTDOCS)
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${MANPREFIX}/man/man1/
${INSTALL_DATA} ${WRKSRC}/doc/*.info ${WRKSRC}/doc/*.info-[1-6] ${PREFIX}/info/
.endif
.include <bsd.port.post.mk>