diff options
author | joerg <joerg> | 2010-02-11 22:57:40 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 22:57:40 +0000 |
commit | 75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac (patch) | |
tree | 892f24338b971c99ecdc3db1d871d95d58c28c61 /news/xrn | |
parent | 99d44c5e24649baeca752737a9e4b5ec5e030970 (diff) | |
download | pkgsrc-75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac.tar.gz |
DESTDIR support
Diffstat (limited to 'news/xrn')
-rw-r--r-- | news/xrn/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
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" |