From 02de440b4ea08e1d02f000f3f2837d0b726d3efa Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov <amdmi3@FreeBSD.org> Date: Fri, 7 Apr 2017 16:28:17 +0000 Subject: - Add LICENSE - Switch to options helpers - Regenerate patches --- x11-fm/xcruise/Makefile | 11 ++++++++--- x11-fm/xcruise/files/patch-Imakefile | 6 +++--- x11-fm/xcruise/pkg-plist | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) (limited to 'x11-fm') diff --git a/x11-fm/xcruise/Makefile b/x11-fm/xcruise/Makefile index 9e263b8a813b..871e0a632733 100644 --- a/x11-fm/xcruise/Makefile +++ b/x11-fm/xcruise/Makefile @@ -10,11 +10,16 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} 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> diff --git a/x11-fm/xcruise/files/patch-Imakefile b/x11-fm/xcruise/files/patch-Imakefile index 3ced30cbe393..3a90a65d1019 100644 --- a/x11-fm/xcruise/files/patch-Imakefile +++ b/x11-fm/xcruise/files/patch-Imakefile @@ -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 diff --git a/x11-fm/xcruise/pkg-plist b/x11-fm/xcruise/pkg-plist index ce8f0b2d4f0d..89cd7f350175 100644 --- a/x11-fm/xcruise/pkg-plist +++ b/x11-fm/xcruise/pkg-plist @@ -1,4 +1,4 @@ bin/xcruiser -share/doc/xcruise/README lib/X11/app-defaults/XCruiser man/man1/xcruiser.1.gz +%%PORTDOCS%%%%DOCSDIR%%/README -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0