pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

set and install licenses for premake4



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <youremailsarecrap%gmail.com@localhost>
Pushed By:	nros
Date:		Wed Jul 5 18:55:43 2017 +0200
Changeset:	7d18a525ee06bed8c1d412d4ba83a6c306281e6f

Modified Files:
	premake4/Makefile
	premake4/PLIST

Log Message:
set and install licenses for premake4

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7d18a525ee06bed8c1d412d4ba83a6c306281e6f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 premake4/Makefile | 15 ++++++++++-----
 premake4/PLIST    |  4 +++-
 2 files changed, 13 insertions(+), 6 deletions(-)

diffs:
diff --git a/premake4/Makefile b/premake4/Makefile
index e200ddc0b7..7d668f2c18 100644
--- a/premake4/Makefile
+++ b/premake4/Makefile
@@ -3,15 +3,15 @@
 PREMAKE4_VERSION=	4.3
 DISTNAME=		premake-${PREMAKE4_VERSION}-src
 PKGNAME=		premake4-${PREMAKE4_VERSION}
-PKGREVISION=		1
+PKGREVISION=		2
 CATEGORIES=		devel
 MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=premake/}
 EXTRACT_SUFX=		.zip
 
 MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=		http://premake.bitbucket.org/
+HOMEPAGE=		http://premake.github.io/
 COMMENT=		Build script generator
-LICENSE=		modified-bsd
+LICENSE=		modified-bsd AND mit
 
 USE_TOOLS+=		gmake
 WRKSRC=			${WRKDIR}/premake-${PREMAKE4_VERSION}
@@ -20,10 +20,15 @@ BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:M*}
 
 BUILD_DIRS+=		build/gmake.unix
 
-INSTALLATION_DIRS=	bin
+INSTALLATION_DIRS=	bin share/doc/premake4
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/release/premake4 ${DESTDIR}${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/release/premake4 \
+		${DESTDIR}${PREFIX}/bin/
+	${INSTALL_DATA} ${WRKSRC}/LICENSE.txt \
+		${DESTDIR}${PREFIX}/share/doc/premake4/license.premake4
+	${INSTALL_DATA} ${WRKSRC}/src/host/lua-5.1.4/COPYRIGHT \
+		${DESTDIR}${PREFIX}/share/doc/premake4/license.lua
 
 .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/premake4/PLIST b/premake4/PLIST
index 79c47b7ee2..554207e272 100644
--- a/premake4/PLIST
+++ b/premake4/PLIST
@@ -1,2 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2014/01/04 16:23:02 nros Exp $
+@comment $NetBSD$
 bin/premake4
+share/doc/premake4/license.lua
+share/doc/premake4/license.premake4


Home | Main Index | Thread Index | Old Index