pkgsrc-Users archive

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

news/nn-6.7.3 (Re: non-DESTDIR status: 68 to go



| From: Thomas Klausner <wiz%NetBSD.org@localhost>
| Subject: non-DESTDIR status: 68 to go
| Date: Wed, 1 Jun 2011 08:38:02 +0200
| Message-ID: <20110601063801.GE12029%danbala.tuwien.ac.at@localhost>

wiz> As of Sunday, the following are still not using DESTDIR:
     ...
wiz> nn-6.7.3

I'm not totally sure, but it seems to be the patch makes 
user-destdir support.

The main reason I feel good is that listing of 
  nn-6.7.3nb1.tgz
is the same (before and after) except time stamp.
---
Makoto Fujiwara
Index: news/nn/Makefile
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/news/nn/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- news/nn/Makefile    13 Mar 2010 05:05:51 -0000      1.37
+++ news/nn/Makefile    4 Jun 2011 14:00:20 -0000
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.37 2010/03/13 05:05:51 obache Exp $
 
 DISTNAME=      nn-6.7.3
+PKGREVISION=   1
 CATEGORIES=    news
 MASTER_SITES=  ftp://ftp.nndev.org/pub/nn-6.7/
 EXTRACT_SUFX=  .tar.Z
@@ -8,6 +9,7 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.nndev.org/
 COMMENT=       NN newsreader
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 PKG_SYSCONFSUBDIR=     nntp
 
@@ -41,7 +43,7 @@
 
 post-patch:
        @${SED} -e ' \
-           s#@PREFIX@#${PREFIX}#; \
+           s#@PREFIX@#${DESTDIR}${PREFIX}#; \
            s#@PKG_SYSCONFDIR@#${PKG_SYSCONFDIR}#; \
            s#@PKGMANDIR@#${PKGMANDIR}#; \
            s#@BINOWN@#${BINOWN}#; \


Home | Main Index | Thread Index | Old Index