Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2014 13:37:36 +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: r374201 - head/games/gnurobots
Message-ID:  <201412071337.sB7DbaVu003212@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Dec  7 13:37:35 2014
New Revision: 374201
URL: https://svnweb.freebsd.org/changeset/ports/374201
QAT: https://qat.redports.org/buildarchive/r374201/

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Don't use ${PTHREAD_*}
  - Simplify docs insatllation
  - Drop @dirrm* from plist

Modified:
  head/games/gnurobots/Makefile
  head/games/gnurobots/pkg-plist

Modified: head/games/gnurobots/Makefile
==============================================================================
--- head/games/gnurobots/Makefile	Sun Dec  7 13:37:26 2014	(r374200)
+++ head/games/gnurobots/Makefile	Sun Dec  7 13:37:35 2014	(r374201)
@@ -14,7 +14,8 @@ EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GNU diversion wherein Scheme-coded robots explore a world
 
-LICENSE=	GPLv3
+LICENSE=	GPLv3 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libguile.so:${PORTSDIR}/lang/guile
 
@@ -22,18 +23,11 @@ USES=		pkgconfig readline
 USE_GNOME=	vte
 GNU_CONFIGURE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS} -w
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include -w
+LDFLAGS+=	-L${LOCALBASE}/lib -pthread
 
 PORTDOCS=	*
 
-DOCSRCDIR1=	${WRKSRC}
-DOC_FILES1=	AUTHORS ChangeLog NEWS README THANKS
-
-DOCSRCDIR2=	${WRKSRC}/doc
-DOCSDIR2=	${DOCSDIR}/doc
-DOC_FILES2=	Robots-HOWTO contrib
-
 OPTIONS_DEFINE=	DOCS
 
 SUB_FILES=	pkg-install pkg-message
@@ -49,9 +43,7 @@ post-patch:
 post-install:
 	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
-
-	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
-	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog NEWS README THANKS \
+		doc/Robots-HOWTO doc/contrib" ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/gnurobots/pkg-plist
==============================================================================
--- head/games/gnurobots/pkg-plist	Sun Dec  7 13:37:26 2014	(r374200)
+++ head/games/gnurobots/pkg-plist	Sun Dec  7 13:37:35 2014	(r374201)
@@ -9,6 +9,3 @@ bin/gnurobots
 %%DATADIR%%/scheme/stop.scm
 %%DATADIR%%/scheme/zap.scm
 share/pixmaps/gnurobots.png
-@dirrm %%DATADIR%%/scheme
-@dirrm %%DATADIR%%/maps
-@dirrm %%DATADIR%%



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