aboutsummaryrefslogtreecommitdiffstats
path: root/devel/buildapp/Makefile
blob: 8cbe0b60b9a48959ef869d5e25cce19503808b6c (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
38
39
40
41
# New ports collection makefile for:   buildapp
# Date created:        27 March 2010
# Whom:                dunkyp
#
# $FreeBSD$
#

PORTNAME=   buildapp
PORTVERSION=    1.1
PORTREVISION=   5
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>