| @@ -1,17 +1,17 @@ | | | @@ -1,17 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.33 2011/04/20 20:46:50 asau Exp $ | | 1 | # $NetBSD: Makefile,v 1.34 2011/05/09 19:35:37 asau Exp $ |
2 | | | 2 | |
3 | DISTNAME= ${PKGNAME_NOREV}-source | | 3 | DISTNAME= ${PKGNAME_NOREV}-source |
4 | PKGNAME= sbcl-1.0.47 | | 4 | PKGNAME= sbcl-1.0.48 |
5 | CATEGORIES= lang | | 5 | CATEGORIES= lang |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sbcl/} | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sbcl/} |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= jonb@NetBSD.org | | 9 | MAINTAINER= jonb@NetBSD.org |
10 | HOMEPAGE= http://www.sbcl.org/ | | 10 | HOMEPAGE= http://www.sbcl.org/ |
11 | COMMENT= SBCL, a Common Lisp implementation | | 11 | COMMENT= SBCL, a Common Lisp implementation |
12 | | | 12 | |
13 | # SBCL creates a new release with minor updates and fixes every | | 13 | # SBCL creates a new release with minor updates and fixes every |
14 | # month. The maintainer of this package does not have the time | | 14 | # month. The maintainer of this package does not have the time |
15 | # to build, test, update, etc. this package that often. If you | | 15 | # to build, test, update, etc. this package that often. If you |
16 | # would like a newer (or older) version, this works very often: | | 16 | # would like a newer (or older) version, this works very often: |
17 | # 1) change the PKGNAME variable above as desired | | 17 | # 1) change the PKGNAME variable above as desired |
| @@ -65,25 +65,27 @@ SUBST_SED.fix-paths+= -e 's,/v | | | @@ -65,25 +65,27 @@ SUBST_SED.fix-paths+= -e 's,/v |
65 | SUBST_CLASSES+= fix-gtar | | 65 | SUBST_CLASSES+= fix-gtar |
66 | SUBST_STAGE.fix-gtar= pre-configure | | 66 | SUBST_STAGE.fix-gtar= pre-configure |
67 | SUBST_MESSAGE.fix-gtar= Fixing GNU tar references. | | 67 | SUBST_MESSAGE.fix-gtar= Fixing GNU tar references. |
68 | SUBST_FILES.fix-gtar= contrib/asdf-install/installer.lisp | | 68 | SUBST_FILES.fix-gtar= contrib/asdf-install/installer.lisp |
69 | SUBST_SED.fix-gtar= -e 's,@GTAR@,${GTAR},' | | 69 | SUBST_SED.fix-gtar= -e 's,@GTAR@,${GTAR},' |
70 | | | 70 | |
71 | do-build: | | 71 | do-build: |
72 | cd ${WRKSRC} && ${SH} make.sh --prefix=${PREFIX} --xc-host=${SBCL_BOOT_SYSTEM:Q} | | 72 | cd ${WRKSRC} && ${SH} make.sh --prefix=${PREFIX} --xc-host=${SBCL_BOOT_SYSTEM:Q} |
73 | post-build: | | 73 | post-build: |
74 | cd ${WRKSRC} && ${RM} -f contrib/sb-cover/test-output/* | | 74 | cd ${WRKSRC} && ${RM} -f contrib/sb-cover/test-output/* |
75 | | | 75 | |
76 | do-install: | | 76 | do-install: |
77 | cd ${WRKSRC} && BUILD_ROOT=${DESTDIR:Q} INSTALL_ROOT=${PREFIX:Q} MAN_DIR=${PREFIX:Q}/${PKGMANDIR} ${SH} install.sh | | 77 | cd ${WRKSRC} && BUILD_ROOT=${DESTDIR:Q} INSTALL_ROOT=${PREFIX:Q} MAN_DIR=${PREFIX:Q}/${PKGMANDIR} ${SH} install.sh |
| | | 78 | rm -f $(DESTDIR)$(PREFIX)/lib/sbcl/sb-posix/test-output/write-test.txt |
| | | 79 | rm -f $(DESTDIR)$(PREFIX)/lib/sbcl/sb-posix/test-output/read-test.txt |
78 | rm -f $(DESTDIR)$(PREFIX)/lib/sbcl/asdf-install/installer.lisp.orig | | 80 | rm -f $(DESTDIR)$(PREFIX)/lib/sbcl/asdf-install/installer.lisp.orig |
79 | | | 81 | |
80 | do-test: | | 82 | do-test: |
81 | cd ${WRKSRC}/tests && ${SH} ./run-tests.sh | | 83 | cd ${WRKSRC}/tests && ${SH} ./run-tests.sh |
82 | | | 84 | |
83 | .if $(LOWER_ARCH) == "amd64" || $(LOWER_ARCH) == "x86_64" | | 85 | .if $(LOWER_ARCH) == "amd64" || $(LOWER_ARCH) == "x86_64" |
84 | PLIST_SUBST+= SUFX64=-64 | | 86 | PLIST_SUBST+= SUFX64=-64 |
85 | .else | | 87 | .else |
86 | PLIST_SUBST+= SUFX64= | | 88 | PLIST_SUBST+= SUFX64= |
87 | .endif | | 89 | .endif |
88 | | | 90 | |
89 | .include "../../mk/bsd.pkg.mk" | | 91 | .include "../../mk/bsd.pkg.mk" |