Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2015 09:42:30 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388515 - head/lang/spl
Message-ID:  <201506040942.t549gU2S061228@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jun  4 09:42:29 2015
New Revision: 388515
URL: https://svnweb.freebsd.org/changeset/ports/388515

Log:
  - Add LICENSE
  - Fix installation of files of different types

Modified:
  head/lang/spl/Makefile
  head/lang/spl/pkg-descr

Modified: head/lang/spl/Makefile
==============================================================================
--- head/lang/spl/Makefile	Thu Jun  4 09:42:00 2015	(r388514)
+++ head/lang/spl/Makefile	Thu Jun  4 09:42:29 2015	(r388515)
@@ -3,13 +3,16 @@
 
 PORTNAME=	spl
 PORTVERSION=	1.2.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	lang
 MASTER_SITES=	http://shakespearelang.sourceforge.net/download/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Shakespeare programming language
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		bison gmake
 
 ALL_EXAMPLES=	Makefile fibonacci.spl fibonacci2.spl guess.spl hello.spl \
@@ -26,8 +29,10 @@ post-patch:
 		-e 's,free(,//free(,g' ${WRKSRC}/makescanner.c
 
 do-install:
-	${TAR} -C ${WRKSRC}/spl -cf - . | ${TAR} -C ${STAGEDIR}${PREFIX} -xf -
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/spl/bin/spl2c ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_DATA} ${WRKSRC}/spl/include/spl.h ${STAGEDIR}${PREFIX}/include/
+	${INSTALL_DATA} ${WRKSRC}/spl/lib/libspl.a ${STAGEDIR}${PREFIX}/lib/
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples && \
 		${INSTALL_DATA} ${ALL_EXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
 

Modified: head/lang/spl/pkg-descr
==============================================================================
--- head/lang/spl/pkg-descr	Thu Jun  4 09:42:00 2015	(r388514)
+++ head/lang/spl/pkg-descr	Thu Jun  4 09:42:29 2015	(r388515)
@@ -4,4 +4,4 @@ main purpose of this language is to make
 for programs written with it resemble a Shakespeare play.
 Yes, it's totally unnecessary, but also very fun.
 
-WWW: http://shakespearelang.sourceforge.net
+WWW: http://shakespearelang.sourceforge.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506040942.t549gU2S061228>