Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2017 16:28:17 +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: r437946 - in head/x11-fm/xcruise: . files
Message-ID:  <201704071628.v37GSH2n041442@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Apr  7 16:28:17 2017
New Revision: 437946
URL: https://svnweb.freebsd.org/changeset/ports/437946

Log:
  - Add LICENSE
  - Switch to options helpers
  - Regenerate patches

Modified:
  head/x11-fm/xcruise/Makefile
  head/x11-fm/xcruise/files/patch-Imakefile
  head/x11-fm/xcruise/pkg-plist

Modified: head/x11-fm/xcruise/Makefile
==============================================================================
--- head/x11-fm/xcruise/Makefile	Fri Apr  7 16:23:14 2017	(r437945)
+++ head/x11-fm/xcruise/Makefile	Fri Apr  7 16:28:17 2017	(r437946)
@@ -10,11 +10,16 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Navigate through a three-dimensional view of a file system
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		imake
 USE_XORG=	ice sm x11 xaw xext xmu xpm xt
 
-post-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/xcruise
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/xcruise
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/x11-fm/xcruise/files/patch-Imakefile
==============================================================================
--- head/x11-fm/xcruise/files/patch-Imakefile	Fri Apr  7 16:23:14 2017	(r437945)
+++ head/x11-fm/xcruise/files/patch-Imakefile	Fri Apr  7 16:28:17 2017	(r437946)
@@ -1,6 +1,6 @@
---- Imakefile.orig	Sat Mar 15 05:32:37 2003
-+++ Imakefile	Sat Mar 15 05:33:50 2003
-@@ -12,7 +12,7 @@
+--- Imakefile.orig	2003-02-04 02:43:32 UTC
++++ Imakefile
+@@ -12,7 +12,7 @@ LOCAL_LIBRARIES = XawClientLibs XkbClien
  SYS_LIBRARIES = MathLibrary
  DEFINES = XkbClientDefines 
  

Modified: head/x11-fm/xcruise/pkg-plist
==============================================================================
--- head/x11-fm/xcruise/pkg-plist	Fri Apr  7 16:23:14 2017	(r437945)
+++ head/x11-fm/xcruise/pkg-plist	Fri Apr  7 16:28:17 2017	(r437946)
@@ -1,4 +1,4 @@
 bin/xcruiser
-share/doc/xcruise/README
 lib/X11/app-defaults/XCruiser
 man/man1/xcruiser.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/README



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