Lines 6-36
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= stumpwm |
8 |
PORTNAME= stumpwm |
9 |
PORTVERSION= 0.9.6 |
9 |
PORTVERSION= 0.9.7 |
10 |
CATEGORIES= x11-wm |
10 |
CATEGORIES= x11-wm |
11 |
MASTER_SITES= SAVANNAH |
11 |
MASTER_SITES= SAVANNAH |
12 |
EXTRACT_SUFX= .tgz |
12 |
EXTRACT_SUFX= .tgz |
|
|
13 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
13 |
|
14 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= A tiling, keyboard driven Window Manager written in Common Lisp |
16 |
COMMENT= A tiling, keyboard driven Window Manager written in Common Lisp |
16 |
|
17 |
|
17 |
BUILD_DEPENDS= clisp:${PORTSDIR}/lang/clisp |
|
|
18 |
|
19 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
20 |
CONFIGURE_ARGS= --with-lisp=clisp |
19 |
MAKE_JOBS_UNSAFE=yes |
21 |
|
20 |
|
22 |
PLIST_FILES= bin/${PORTNAME} |
21 |
PLIST_FILES= bin/${PORTNAME} |
23 |
INFO= ${PORTNAME} |
22 |
INFO= ${PORTNAME} |
24 |
|
23 |
|
|
|
24 |
OPTIONS= SBCL "Build with lang/sbcl" off |
25 |
|
25 |
.include <bsd.port.pre.mk> |
26 |
.include <bsd.port.pre.mk> |
26 |
|
27 |
|
27 |
.if !exists(${LOCALBASE}/bin/clisp) || \ |
28 |
.if defined(WITH_SBCL) || make(makesum) || defined(FETCH_ALL) |
|
|
29 |
MASTER_SITES+= http://common-lisp.net/~abridgewater/dist/clx/:clx |
30 |
DISTFILES+= clx-0.7.4.tgz:clx |
31 |
.endif |
32 |
|
33 |
.if defined(WITH_SBCL) |
34 |
CONFIGURE_ARGS= --with-lisp=sbcl |
35 |
BUILD_DEPENDS= sbcl:${PORTSDIR}/lang/sbcl |
36 |
.else |
37 |
CONFIGURE_ARGS= --with-lisp=clisp |
38 |
BUILD_DEPENDS= clisp:${PORTSDIR}/lang/clisp |
39 |
.endif |
40 |
|
41 |
.if !defined(WITH_SBCL) |
42 |
.if exists(${LOCALBASE}/bin/clisp) && \ |
28 |
!exists(${LOCALBASE}/lib/clisp/full/clx.o) |
43 |
!exists(${LOCALBASE}/lib/clisp/full/clx.o) |
29 |
IGNORE= requires lang/clisp built with CLX_NEW option ON |
44 |
IGNORE= requires lang/clisp built with CLX_NEW option ON |
30 |
.endif |
45 |
.endif |
|
|
46 |
.endif |
31 |
|
47 |
|
32 |
do-install: |
48 |
.if defined(WITH_SBCL) |
33 |
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
49 |
post-extract: .SILENT |
34 |
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.info ${PREFIX}/${INFO_PATH} |
50 |
${LN} -sf ${WRKDIR}/clx*/*.asd ${WRKSRC}/cl-ppcre/*.asd ${WRKSRC} |
|
|
51 |
|
52 |
post-patch: .SILENT |
53 |
${REINPLACE_CMD} 's|sbcl_.*OPTS=|&--disable-debugger --no-userinit \ |
54 |
--eval "(require :asdf)" \ |
55 |
--eval "(pop asdf:*central-registry*)" |' \ |
56 |
${WRKSRC}/Makefile.in |
57 |
${REINPLACE_CMD} 's/\(sb-introspect:function-\)arglist/\1lambda-list/' \ |
58 |
${WRKSRC}/manual.lisp |
59 |
.endif |
35 |
|
60 |
|
36 |
.include <bsd.port.post.mk> |
61 |
.include <bsd.port.post.mk> |