ports/151343: [patch] devel/buildapp: convert to USE_SBCL
Anonymous
swell.k at gmail.com
Sat Oct 9 13:10:11 UTC 2010
>Number: 151343
>Category: ports
>Synopsis: [patch] devel/buildapp: convert to USE_SBCL
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 09 13:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
- use USE_SBCL from bsd.cl-asdf.mk
- remove obsoleted LICENSE_FILE hack[1]
- fix typo in COMMENT: wrapper vs. wrapped
- install verbosely like most ports do
- move plist defines after build defines (cosmetic)
No changes to either default build or plist -> no need to bump PORTREVISION.
The port now respects SBCL in make.conf, though.
[1] approved by silence (~2 weeks) from jacula@ ;)
http://docs.freebsd.org/cgi/mid.cgi?861v8euqz1.fsf
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: devel/buildapp/Makefile
===================================================================
RCS file: /a/.cvsup/ports/devel/buildapp/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- devel/buildapp/Makefile 3 Aug 2010 10:19:19 -0000 1.1
+++ devel/buildapp/Makefile 9 Oct 2010 12:54:46 -0000
@@ -13,30 +13,28 @@ DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= dunkyp at gmail.com
-COMMENT= A simple wrapped for creating executables with sbcl
-
-BUILD_DEPENDS= sbcl:${PORTSDIR}/lang/sbcl
-RUN_DEPENDS= ${BUILD_DEPENDS}
+COMMENT= A simple wrapper for creating executables with sbcl
LICENSE= BSD
-LICENSE_FILE= ${WRKSRC}/doc/LICENSE-buildapp
+LICENSE_FILE= ${WRKSRC}/doc/LICENSE
-PLIST_FILES= bin/buildapp
-PORTDOCS= *
+USE_SBCL= yes
WRKSRC= ${WRKDIR}/${DISTNAME}-${PORTVERSION}
ALL_TARGET=
-post-extract:
- @${MV} ${WRKSRC}/doc/LICENSE ${WRKSRC}/doc/LICENSE-buildapp
+PLIST_FILES= bin/buildapp
+PORTDOCS= *
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+post-patch: .SILENT
+ ${REINPLACE_CMD} 's|sbcl|${SBCL}|' ${WRKSRC}/Makefile
-post-install:
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR} "! -name LICENSE*")
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR} "! -name LICENSE*")
.endif
+.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
.include <bsd.port.mk>
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list