aboutsummaryrefslogtreecommitdiffstats
path: root/devel/premake/Makefile
blob: 4af1090258a0e441b3d2ad99ae0200023d3a5dd0 (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
# New ports collection makefile for:    premake
# Date created:     2004-03-25
# Whom:         michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   premake
PORTVERSION=    3.5
CATEGORIES= devel
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-src-${PORTVERSION}

MAINTAINER= lippemail@gmail.com
COMMENT=    Writes build scripts

WRKSRC=     ${WRKDIR}/Premake-${PORTVERSION}

USE_DOS2UNIX=   yes
USE_ZIP=    yes
USE_GMAKE=  yes
MAKE_ENV=   CC="${CC}" CFLAGS="${CFLAGS}"

PLIST_FILES=    bin/premake

PORTDOCS=   CHANGES.txt LICENSE.txt README.txt

.include <bsd.port.pre.mk>

do-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
    @${INSTALL_PROGRAM} ${WRKSRC}/bin/premake ${PREFIX}/bin

.include <bsd.port.post.mk>