af5524d827
PR: 118787 Submitted by: Felippe de Meirelles Motta <lippemail@gmail.com> (maintainer)
37 lines
745 B
Makefile
37 lines
745 B
Makefile
# 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>
|