svn commit: r437946 - in head/x11-fm/xcruise: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Apr 7 16:28:18 UTC 2017


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 at 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


More information about the svn-ports-head mailing list