1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

Update to 0.9.7

Mark MAKE_JOBS_UNSAFE
Fix `makesum' target when clisp is not installed
Add option to build with sbcl

PR:		ports/146942
Submitted by:	Anonymous <swell.k at gmail.com>
This commit is contained in:
Max Brazhnikov 2010-06-05 11:04:14 +00:00
parent f9a6b5683e
commit f97ef02eaa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255767
4 changed files with 82 additions and 28 deletions

View File

@ -6,31 +6,55 @@
#
PORTNAME= stumpwm
PORTVERSION= 0.9.6
PORTVERSION= 0.9.7
CATEGORIES= x11-wm
MASTER_SITES= SAVANNAH
EXTRACT_SUFX= .tgz
DISTFILES= ${DISTNAME}.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A tiling, keyboard driven Window Manager written in Common Lisp
BUILD_DEPENDS= clisp:${PORTSDIR}/lang/clisp
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lisp=clisp
MAKE_JOBS_UNSAFE=yes
PLIST_FILES= bin/${PORTNAME}
INFO= ${PORTNAME}
.include <bsd.port.pre.mk>
OPTIONS= SBCL "Build with lang/sbcl (otherwise with lang/clisp)" off
.if !exists(${LOCALBASE}/bin/clisp) || \
.include <bsd.port.options.mk>
.if defined(WITH_SBCL) || make(makesum) || defined(FETCH_ALL)
MASTER_SITES+= http://common-lisp.net/~abridgewater/dist/clx/:clx
DISTFILES+= clx-0.7.4.tgz:clx
.endif
.if defined(WITH_SBCL)
CONFIGURE_ARGS= --with-lisp=sbcl
BUILD_DEPENDS+= sbcl:${PORTSDIR}/lang/sbcl
.else
CONFIGURE_ARGS= --with-lisp=clisp
BUILD_DEPENDS+= clisp:${PORTSDIR}/lang/clisp
.endif
.if !defined(WITH_SBCL)
.if exists(${LOCALBASE}/bin/clisp) && \
!exists(${LOCALBASE}/lib/clisp/full/clx.o)
IGNORE= requires lang/clisp built with CLX_NEW option ON
.endif
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.info ${PREFIX}/${INFO_PATH}
.if defined(WITH_SBCL)
post-extract: .SILENT
${LN} -sf ${WRKDIR}/clx*/*.asd ${WRKSRC}/cl-ppcre/*.asd ${WRKSRC}
.include <bsd.port.post.mk>
post-patch: .SILENT
${REINPLACE_CMD} 's|sbcl_.*OPTS=|&--disable-debugger --no-userinit \
--eval "(require :asdf)" \
--eval "(pop asdf:*central-registry*)" |' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} 's/\(sb-introspect:function-\)arglist/\1lambda-list/' \
${WRKSRC}/manual.lisp
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,6 @@
MD5 (stumpwm-0.9.6.tgz) = 36b6cf74d680ed6d0ba1cde4b5e063ec
SHA256 (stumpwm-0.9.6.tgz) = 5ff75361148bbfe9425e4a53b96dd5461ef65717299de97753da51116368fe77
SIZE (stumpwm-0.9.6.tgz) = 487015
MD5 (stumpwm-0.9.7.tgz) = cfdf39945908802f59b70e6c4675d27a
SHA256 (stumpwm-0.9.7.tgz) = a0793d22ef90731d34f84e51deafb4bc2095a357c70b9505dc57516f481cdf78
SIZE (stumpwm-0.9.7.tgz) = 497663
MD5 (clx-0.7.4.tgz) = d18b9fcc3a5d085e1a73c59a6ecc9413
SHA256 (clx-0.7.4.tgz) = 4a80f80255ace26eb8df214957dda3d7b7e51955537405ec893a34b18e569028
SIZE (clx-0.7.4.tgz) = 444490

View File

@ -6,31 +6,55 @@
#
PORTNAME= stumpwm
PORTVERSION= 0.9.6
PORTVERSION= 0.9.7
CATEGORIES= x11-wm
MASTER_SITES= SAVANNAH
EXTRACT_SUFX= .tgz
DISTFILES= ${DISTNAME}.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A tiling, keyboard driven Window Manager written in Common Lisp
BUILD_DEPENDS= clisp:${PORTSDIR}/lang/clisp
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lisp=clisp
MAKE_JOBS_UNSAFE=yes
PLIST_FILES= bin/${PORTNAME}
INFO= ${PORTNAME}
.include <bsd.port.pre.mk>
OPTIONS= SBCL "Build with lang/sbcl (otherwise with lang/clisp)" off
.if !exists(${LOCALBASE}/bin/clisp) || \
.include <bsd.port.options.mk>
.if defined(WITH_SBCL) || make(makesum) || defined(FETCH_ALL)
MASTER_SITES+= http://common-lisp.net/~abridgewater/dist/clx/:clx
DISTFILES+= clx-0.7.4.tgz:clx
.endif
.if defined(WITH_SBCL)
CONFIGURE_ARGS= --with-lisp=sbcl
BUILD_DEPENDS+= sbcl:${PORTSDIR}/lang/sbcl
.else
CONFIGURE_ARGS= --with-lisp=clisp
BUILD_DEPENDS+= clisp:${PORTSDIR}/lang/clisp
.endif
.if !defined(WITH_SBCL)
.if exists(${LOCALBASE}/bin/clisp) && \
!exists(${LOCALBASE}/lib/clisp/full/clx.o)
IGNORE= requires lang/clisp built with CLX_NEW option ON
.endif
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.info ${PREFIX}/${INFO_PATH}
.if defined(WITH_SBCL)
post-extract: .SILENT
${LN} -sf ${WRKDIR}/clx*/*.asd ${WRKSRC}/cl-ppcre/*.asd ${WRKSRC}
.include <bsd.port.post.mk>
post-patch: .SILENT
${REINPLACE_CMD} 's|sbcl_.*OPTS=|&--disable-debugger --no-userinit \
--eval "(require :asdf)" \
--eval "(pop asdf:*central-registry*)" |' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} 's/\(sb-introspect:function-\)arglist/\1lambda-list/' \
${WRKSRC}/manual.lisp
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,6 @@
MD5 (stumpwm-0.9.6.tgz) = 36b6cf74d680ed6d0ba1cde4b5e063ec
SHA256 (stumpwm-0.9.6.tgz) = 5ff75361148bbfe9425e4a53b96dd5461ef65717299de97753da51116368fe77
SIZE (stumpwm-0.9.6.tgz) = 487015
MD5 (stumpwm-0.9.7.tgz) = cfdf39945908802f59b70e6c4675d27a
SHA256 (stumpwm-0.9.7.tgz) = a0793d22ef90731d34f84e51deafb4bc2095a357c70b9505dc57516f481cdf78
SIZE (stumpwm-0.9.7.tgz) = 497663
MD5 (clx-0.7.4.tgz) = d18b9fcc3a5d085e1a73c59a6ecc9413
SHA256 (clx-0.7.4.tgz) = 4a80f80255ace26eb8df214957dda3d7b7e51955537405ec893a34b18e569028
SIZE (clx-0.7.4.tgz) = 444490