summaryrefslogtreecommitdiff
path: root/devel/slib/Makefile
blob: fe2775aa58f76d3c06223d6185281683edeb3381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.1.1.1 2000/02/23 20:20:45 jlam Exp $

DISTNAME=	slib2c7
PKGNAME=	slib-2c7
CATEGORIES=	devel
MASTER_SITES=	http://swissnet.ai.mit.edu/ftpdir/scm/ \
		${MASTER_SITE_GNU:=jacal/}
EXTRACT_SUFX=	.zip

MAINTAINER=	jlam@netbsd.org
HOMEPAGE=	http://swissnet.ai.mit.edu/~jaffer/SLIB.html

BUILD_DEPENDS+=	${LOCALBASE}/bin/unzip:../../archivers/unzip

WRKSRC=		${WRKDIR}/slib
EXTRACT_CMD=	${LOCALBASE}/bin/unzip -uLa \
			${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}

NO_CONFIGURE=	yes
NO_BUILD=	yes

SLIBDIR=	share/slib
DOCDIR=		share/doc/slib

INFO_FILES=	slib.info

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/${SLIBDIR}
	cd ${WRKSRC}; ${INSTALL_DATA} *.scm *.init ${PREFIX}/${SLIBDIR}
	${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
	cd ${WRKSRC}; ${INSTALL_DATA} README FAQ ${PREFIX}/${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/slib.info ${PREFIX}/info

.include "../../mk/bsd.pkg.mk"