diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 22:57:40 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 22:57:40 +0000 |
commit | 87c133631b21887f418a36348facdb0db22b7e62 (patch) | |
tree | 892f24338b971c99ecdc3db1d871d95d58c28c61 /news/xrn | |
parent | 5ed11b372cb33923cdbc2835d3949451b69209e7 (diff) | |
download | pkgsrc-87c133631b21887f418a36348facdb0db22b7e62.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" |