Index: head/x11-fm/xcruise/Makefile =================================================================== --- head/x11-fm/xcruise/Makefile (revision 437945) +++ head/x11-fm/xcruise/Makefile (revision 437946) @@ -1,20 +1,25 @@ # Created by: minoura@netbsd.org # $FreeBSD$ PORTNAME= xcruiser PORTVERSION= 0.30 PORTREVISION= 3 CATEGORIES= x11-fm 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 Index: head/x11-fm/xcruise/files/patch-Imakefile =================================================================== --- head/x11-fm/xcruise/files/patch-Imakefile (revision 437945) +++ head/x11-fm/xcruise/files/patch-Imakefile (revision 437946) @@ -1,11 +1,11 @@ ---- 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 -CDEBUGFLAGS = -g -Wall +#CDEBUGFLAGS = -g -Wall SRCS = MainScreen.c xcruiser.c draw.c zone.c vec3.c info.c OBJS = MainScreen.o xcruiser.o draw.o zone.o vec3.o info.o Index: head/x11-fm/xcruise/pkg-plist =================================================================== --- head/x11-fm/xcruise/pkg-plist (revision 437945) +++ head/x11-fm/xcruise/pkg-plist (revision 437946) @@ -1,4 +1,4 @@ bin/xcruiser -share/doc/xcruise/README lib/X11/app-defaults/XCruiser man/man1/xcruiser.1.gz +%%PORTDOCS%%%%DOCSDIR%%/README