summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:57:40 +0000
committerjoerg <joerg>2010-02-11 22:57:40 +0000
commit75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac (patch)
tree892f24338b971c99ecdc3db1d871d95d58c28c61 /news
parent99d44c5e24649baeca752737a9e4b5ec5e030970 (diff)
downloadpkgsrc-75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac.tar.gz
DESTDIR support
Diffstat (limited to 'news')
-rw-r--r--news/cleanscore/Makefile11
-rw-r--r--news/nget/Makefile10
-rw-r--r--news/suck/Makefile12
-rw-r--r--news/xrn/Makefile9
4 files changed, 28 insertions, 14 deletions
diff --git a/news/cleanscore/Makefile b/news/cleanscore/Makefile
index 73e98d8427c..4867b7390c5 100644
--- a/news/cleanscore/Makefile
+++ b/news/cleanscore/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/10/12 12:30:47 is Exp $
+# $NetBSD: Makefile,v 1.2 2010/02/11 23:27:24 joerg Exp $
#
DISTNAME= cleanscore-0.9.8.1
@@ -9,14 +9,17 @@ MAINTAINER= is@NetBSD.org
HOMEPAGE= http://slrn.sourceforge.net/cleanscore/
COMMENT= Clean SLRN's score file
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS= perl
REPLACE_PERL= cleanscore
NO_BUILD= yes
+INSTALLATION_DIRS+= bin share/doc/cleanscore
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/cleanscore ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cleanscore
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cleanscore
+ ${INSTALL_SCRIPT} ${WRKSRC}/cleanscore ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/cleanscore
.include "../../mk/bsd.pkg.mk"
diff --git a/news/nget/Makefile b/news/nget/Makefile
index 90712bdd300..05242557c46 100644
--- a/news/nget/Makefile
+++ b/news/nget/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:10:33 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2010/02/11 23:30:22 joerg Exp $
#
DISTNAME= nget-0.27.1
@@ -10,6 +10,8 @@ MAINTAINER= joel@carnat.net
HOMEPAGE= http://nget.sourceforge.net/
COMMENT= Command line nntp file grabber
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
@@ -22,11 +24,13 @@ EGDIR= ${PREFIX}/share/examples/nget
MESSAGE_SUBST+= EGDIR=${EGDIR}
INSTALLATION_DIRS= share/nget share/examples/nget
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
post-install:
for f in COPYING Changelog FAQ README TODO; do \
- ${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/share/nget; done
- ${INSTALL_DATA} ${WRKSRC}/.ngetrc ${EGDIR}/dot.ngetrc
+ ${INSTALL_DATA} ${WRKSRC}/$${f} ${DESTDIR}${PREFIX}/share/nget; done
+ ${INSTALL_DATA} ${WRKSRC}/.ngetrc ${DESTDIR}${EGDIR}/dot.ngetrc
.include "../../converters/uulib/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
diff --git a/news/suck/Makefile b/news/suck/Makefile
index f49afe07d62..2a518ba4f7f 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2010/01/17 12:02:37 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2010/02/11 23:33:41 joerg Exp $
#
DISTNAME= suck-4.3.2
@@ -10,6 +10,8 @@ MAINTAINER= drankin@bohemians.lexington.ky.us
HOMEPAGE= http://home.comcast.net/~bobyetman/
COMMENT= Feed a local news server without a dedicated newsfeed
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_FEATURES= snprintf
@@ -22,10 +24,12 @@ post-patch:
${WRKSRC}/Makefile.in >${WRKSRC}/Makefile.tmp
@${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile.in
+INSTALLATION_DIRS+= share/examples/suck
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/suck
- ${CP} ${WRKSRC}/sample/* ${PREFIX}/share/examples/suck
- ${CHMOD} 644 ${PREFIX}/share/examples/suck/*
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${DESTDIR}${PREFIX}/share/examples/suck
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/news/xrn/Makefile b/news/xrn/Makefile
index 7bc2fc0155d..90cf49def5d 100644
--- a/news/xrn/Makefile
+++ b/news/xrn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/11/10 17:21:37 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2010/02/11 23:32:50 joerg Exp $
#
DISTNAME= 9.01
@@ -12,16 +12,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mit.edu/people/jik/software/xrn.html
COMMENT= Usenet News reader for the X window system
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
DIST_SUBDIR= xrn
USE_TOOLS+= lex yacc
USE_IMAKE= yes
+INSTALLATION_DIRS+= share/doc/xrn
+
pre-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xrn
for f in COMMON-PROBLMS COPYRIGHT CREDITS ChangeLog; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/xrn; \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/share/doc/xrn; \
done
.include "../../x11/libXaw/buildlink3.mk"