aboutsummaryrefslogtreecommitdiffstats
path: root/devel/buildapp/Makefile
blob: 1018b533a45b858a976094c2cd144d7b0acd76c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: dunkyp
# $FreeBSD$

PORTNAME=   buildapp
PORTVERSION=    1.1
PORTREVISION=   10
CATEGORIES= devel lisp
MASTER_SITES=   http://www.xach.com/lisp/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= dunkyp@gmail.com
COMMENT=    A simple wrapper for creating executables with sbcl

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/doc/LICENSE

USE_SBCL=   yes

WRKSRC=     ${WRKDIR}/${DISTNAME}-${PORTVERSION}
ALL_TARGET=

PLIST_FILES=    bin/buildapp
PORTDOCS=   *

post-patch: .SILENT
    ${REINPLACE_CMD} 's|sbcl|${SBCL}|' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR} "! -name LICENSE*")
.endif

.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
.include <bsd.port.mk>