pkgsrc-Bugs archive

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

pkg/38339: textproc/dictem: DESTDIR support and upgrade



>Number:         38339
>Category:       pkg
>Synopsis:       textproc/dictem: DESTDIR support and upgrade
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 29 23:55: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, upgrade and minor clean-ups.
This is my package.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/dictem/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile    10 Jan 2007 14:53:11 -0000      1.1.1.1
+++ Makefile    29 Mar 2008 23:51:04 -0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.1.1.1 2007/01/10 14:53:11 obache Exp $
 
-DISTNAME=              dictem-0.81
+DISTNAME=              dictem-0.82
 PKGNAME=               ${EMACS_PKGNAME_PREFIX}${DISTNAME}
 #PKGREVISION=          1
 CATEGORIES=            textproc editors
@@ -11,26 +11,28 @@
 HOMEPAGE=              http://freshmeat.net/projects/dictem/
 COMMENT=               Dictionary client (RFC-2229) for [X]Emacs
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=              dict-client>=1.9.14:../../textproc/dict-client
 #MESSAGE_SUBST+=               PREFIX=${PREFIX}
 
 SRCS=                  dictem.el
 DOCS=                  README NEWS COPYING ChangeLog
 
-INSTALLATION_DIRS+=    share/doc/${PKGBASE} ${EMACS_LISPPREFIX:Q}
+INSTALLATION_DIRS+=    share/doc/${PKGBASE} ${EMACS_LISPPREFIX}
 
 do-build:
 .for f in ${SRCS}
-       ${EMACS_BIN:Q} --no-init-file --no-site-file -batch     \
+       ${EMACS_BIN} --no-init-file --no-site-file -batch       \
                -f batch-byte-compile ${WRKSRC}/${f}
 .endfor
 
 do-install:
        set -e; \
        cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc}        \
-                       ${EMACS_LISPPREFIX:Q};                          \
+                       ${DESTDIR}${EMACS_LISPPREFIX};                  \
        cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS}                         \
-                       ${PREFIX}/share/doc/${PKGBASE}
+                       ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 
 .include "../../mk/emacs.mk"
 .include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/dictem/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo    10 Jan 2007 14:53:11 -0000      1.1.1.1
+++ distinfo    29 Mar 2008 23:51:04 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1.1.1 2007/01/10 14:53:11 obache Exp $
 
-SHA1 (dictem-0.81.tar.gz) = 31b23a532fb47757086b3cff9a4c8a7b284c6f14
-RMD160 (dictem-0.81.tar.gz) = 3edd0915f8d97a32bce2197db1bcd9b06831b6a1
-Size (dictem-0.81.tar.gz) = 33091 bytes
+SHA1 (dictem-0.82.tar.gz) = 92ff730c85b7059cb7dd97296ac4b9759a67bfb4
+RMD160 (dictem-0.82.tar.gz) = d0f8fd677cb9a162c5b208becc52c909e815d3bc
+Size (dictem-0.82.tar.gz) = 35039 bytes

>Fix:

Unknown


Home | Main Index | Thread Index | Old Index