pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38340: x11/xxkb: DESTDIR support, clean-ups and minor fixes



>Number:         38340
>Category:       pkg
>Synopsis:       x11/xxkb: DESTDIR support, clean-ups and minor fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 30 00:10:00 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #2: 
Tue Dec 25 17:42:38 EET 2007 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
DESTDIR support, clean-ups and minor fixes.
This is my package.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xxkb/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile    2 Dec 2007 00:06:59 -0000       1.3
+++ Makefile    30 Mar 2008 00:03:01 -0000
@@ -11,8 +11,12 @@
 HOMEPAGE=      http://pascal.tsu.ru/other/xxkb/
 COMMENT=       XXKB - switches and indicates a current keyboard layout
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            xmkmf
 USE_IMAKE=             yes
+USE_FEATURES=          err
+
 DOC_FILES=             LICENSE README.koi8 README
 DOC_DIR=               ${PREFIX}/share/doc/${PKGBASE}
 INSTALLATION_DIRS=     ${DOC_DIR}
@@ -21,7 +25,7 @@
 
 post-install:
 .for i in ${DOC_FILES}
-       ${INSTALL_DATA} ${WRKSRC}/${i} ${DOC_DIR}
+       ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${DOC_DIR}
 .endfor
 
 .include "../../x11/libXext/buildlink3.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xxkb/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- PLIST       30 May 2007 14:01:47 -0000      1.1.1.1
+++ PLIST       30 Mar 2008 00:03:01 -0000
@@ -20,6 +20,6 @@
 share/xxkb/su48.xpm
 share/xxkb/ua15.xpm
 share/xxkb/ua48.xpm
-${IMAKE_MAN_DIR}/xxkb.${IMAKE_MANNEWSUFFIX}
+${IMAKE_MAN_DIR}/xxkb.${IMAKE_MAN_SUFFIX}
 @dirrm share/xxkb
 @dirrm share/doc/xxkb

>Fix:

Unknown


Home | Main Index | Thread Index | Old Index