Update for ${DESTDIR} support, and add an explicit license statement to the

Makefile
This commit is contained in:
agc 2009-07-07 20:35:53 +00:00
parent a9f12043ab
commit 26b794a3a9
3 changed files with 13 additions and 11 deletions

View file

@ -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"

View file

@ -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

View file

@ -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