ports/134544: [patch] x11/numlockx: No document is installed
WATANABE Kazuhiro
CQG00620 at nifty.ne.jp
Thu May 14 16:10:04 UTC 2009
>Number: 134544
>Category: ports
>Synopsis: [patch] x11/numlockx: No document is installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu May 14 16:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Watanabe Kazuhiro
>Release: FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD capricorn.sign.local 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Wed May 6 11:49:22 JST 2009 nabe at capricorn:/FreeBSD/obj/i386/RELENG_7_2/FreeBSD/RELENG_7_2/src/sys/VASH i386
>Description:
The numlockx port (ports/x11/numlockx) doesn't install any document.
It has some helpful documents (but no manual pages). We should
install them.
>How-To-Repeat:
# cd /usr/ports/x11/numlockx
# make install
(snip)
# pkg_info -L -x numlockx
Information for numlockx-1.1_2:
Files:
/usr/local/bin/numlockx
#
>Fix:
I've tested the patch on 7.2-RELEASE with the latest ports tree.
diff -ruN numlockx.orig/Makefile numlockx/Makefile
--- numlockx.orig/Makefile 2008-09-01 20:52:23.000000000 +0900
+++ numlockx/Makefile 2009-05-14 17:45:53.000000000 +0900
@@ -19,8 +19,15 @@
GNU_CONFIGURE= yes
USE_XORG= x11 xext
PLIST_FILES= bin/numlockx
+PORTDOCS= ChangeLog LICENSE README
# Needed for the "configure" program to find XTest and XKB header files
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list