From 9fcd6cee3bf3778d877f2abe64218db8f775f8d0 Mon Sep 17 00:00:00 2001 From: agc Date: Tue, 7 Jul 2009 20:35:53 +0000 Subject: Update for ${DESTDIR} support, and add an explicit license statement to the Makefile --- lang/tinyscheme/Makefile | 8 +++++--- lang/tinyscheme/distinfo | 4 ++-- lang/tinyscheme/patches/patch-aa | 12 ++++++------ 3 files changed, 13 insertions(+), 11 deletions(-) (limited to 'lang/tinyscheme') diff --git a/lang/tinyscheme/Makefile b/lang/tinyscheme/Makefile index 0665c8c4d39..16a58b72adc 100644 --- a/lang/tinyscheme/Makefile +++ b/lang/tinyscheme/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/03/24 19:21:25 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2009/07/07 20:35:53 agc Exp $ DISTNAME= tinyscheme-1.35 CATEGORIES= lang @@ -6,11 +6,13 @@ MASTER_SITES= http://tinyscheme.sourceforge.net/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://tinyscheme.sourceforge.net/home.html -COMMENT= BSD-licensed R5RS small embeddable scheme implementation +COMMENT= R5RS small embeddable scheme implementation +LICENSE= modified-bsd MAKE_FILE= makefile USE_LIBTOOL= yes -INSTALLATION_DIRS= bin include lib +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= bin include lib share/tinyscheme .include "../../mk/bsd.pkg.mk" diff --git a/lang/tinyscheme/distinfo b/lang/tinyscheme/distinfo index 6586d7ed067..c7385058a04 100644 --- a/lang/tinyscheme/distinfo +++ b/lang/tinyscheme/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.7 2005/03/24 16:30:45 agc Exp $ +$NetBSD: distinfo,v 1.8 2009/07/07 20:35:53 agc Exp $ SHA1 (tinyscheme-1.35.tar.gz) = 02b740020bd68648f78207dd4a5e39bb57151ece RMD160 (tinyscheme-1.35.tar.gz) = 4ad93b7545a1792ffc0b58a4552d8f7dc207279c Size (tinyscheme-1.35.tar.gz) = 54363 bytes -SHA1 (patch-aa) = 19f1548d94e0993a175afc6cb704788efd43107f +SHA1 (patch-aa) = 7aa69ae0316e59b091ff9a9ba5037266741296ae SHA1 (patch-ab) = a67d8db645c293863cf992df41aaf9d3f6bfe006 diff --git a/lang/tinyscheme/patches/patch-aa b/lang/tinyscheme/patches/patch-aa index 1ea663b5998..7fe31998d9a 100644 --- a/lang/tinyscheme/patches/patch-aa +++ b/lang/tinyscheme/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.4 2005/03/24 16:30:45 agc Exp $ +$NetBSD: patch-aa,v 1.5 2009/07/07 20:35:53 agc Exp $ --- makefile 2003-01-07 19:01:04.000000000 +0000 +++ makefile 2005-03-24 16:19:11.000000000 +0000 @@ -157,11 +157,11 @@ $NetBSD: patch-aa,v 1.4 2005/03/24 16:30:45 agc Exp $ + ${LIBTOOL} --mode=link ${CC} -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:35 + +install: all -+ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} ${STATICLIBTARGET:.a=.la} ${PREFIX}/lib -+ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} scheme${EXE_EXT} ${PREFIX}/bin/tinyscheme -+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/tinyscheme -+ ${BSD_INSTALL_DATA} init.scm ${PREFIX}/share/tinyscheme -+ ${BSD_INSTALL_DATA} scheme.h ${PREFIX}/include/tinyscheme.h ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} ${STATICLIBTARGET:.a=.la} ${DESTDIR}${PREFIX}/lib ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} scheme${EXE_EXT} ${DESTDIR}${PREFIX}/bin/tinyscheme ++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/tinyscheme ++ ${BSD_INSTALL_DATA} init.scm ${DESTDIR}${PREFIX}/share/tinyscheme ++ ${BSD_INSTALL_DATA} scheme.h ${DESTDIR}${PREFIX}/include/tinyscheme.h + +$(OBJS): scheme.h scheme-private.h opdefines.h +dynload.$(Osuf): dynload.h -- cgit v1.2.3