File:  [cvs.NetBSD.org] / pkgsrc / devel / guile-slib / Makefile
Revision 1.38: download - view: text, annotated - select for diffs
Thu Apr 9 00:48:07 2009 UTC (15 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: HEAD
Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.

# $NetBSD: Makefile,v 1.38 2009/04/09 00:48:07 joerg Exp $

DISTNAME=	guile-slib-3.2.1
CATEGORIES=	devel
MASTER_SITES=	# empty
DISTFILES=	# empty

MAINTAINER=	gdt@NetBSD.org
HOMEPAGE=	http://swissnet.ai.mit.edu/~jaffer/SLIB.html
COMMENT=	SLIB glue files for guile 1.8

# This does not quite work.  The problem is that new-catalog writes
# the catalog in /usr/pkg/share/guile/site, rarther than the proper
# place in the destdir.
#PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=	slib>=3.2.1:../../devel/slib

NO_BUILD=	yes
WRKSRC=		${WRKDIR}

INSTALLATION_DIRS=	share/guile share/guile/site

do-install:
	${LN} -sf ${PREFIX}/share/slib \
		${DESTDIR}${PREFIX}/share/guile/site/slib
	${RM} -f ${DESTDIR}${PREFIX}/share/guile/slibcat
	cd ${DESTDIR}${PREFIX}/share/guile/site/slib && \
		GUILE_LOAD_PATH=${PREFIX}/share \
		guile -q -c "(begin (use-modules (ice-9 slib)) (require 'new-catalog))"

# Our 1.8.2 package applies a necessary patch.
BUILDLINK_API_DEPENDS.guile+=	guile>=1.8.2
.include "../../lang/guile/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>