aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/xcruise
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-07 16:28:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-07 16:28:17 +0000
commit02de440b4ea08e1d02f000f3f2837d0b726d3efa (patch)
treea169e14a494354b358999af9d736e63af75e94d7 /x11-fm/xcruise
parent277f9a42d54fc5ed0b4588772c8d25e80cf9f8c9 (diff)
downloadports-02de440b4ea08e1d02f000f3f2837d0b726d3efa.tar.gz
ports-02de440b4ea08e1d02f000f3f2837d0b726d3efa.zip
- Add LICENSE
- Switch to options helpers - Regenerate patches
Notes
Notes: svn path=/head/; revision=437946
Diffstat (limited to 'x11-fm/xcruise')
-rw-r--r--x11-fm/xcruise/Makefile11
-rw-r--r--x11-fm/xcruise/files/patch-Imakefile6
-rw-r--r--x11-fm/xcruise/pkg-plist2
3 files changed, 12 insertions, 7 deletions
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