summaryrefslogtreecommitdiff
path: root/print/LPRng-doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/LPRng-doc/Makefile')
-rw-r--r--print/LPRng-doc/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/print/LPRng-doc/Makefile b/print/LPRng-doc/Makefile
index d41bfa8eaf2..b706856f2dc 100644
--- a/print/LPRng-doc/Makefile
+++ b/print/LPRng-doc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/05/26 02:13:23 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2008/06/12 02:14:42 joerg Exp $
DISTNAME= LPRng_DOC-3.6.13
PKGNAME= LPRng-doc-3.6.13
@@ -10,17 +10,20 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.lprng.com/
COMMENT= LPRng documentation in dvi, text, html and ps formats
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_ONLY= # empty
NO_CONFIGURE= yes
NO_BUILD= yes
USE_TOOLS+= pax
+INSTALLATION_DIRS= share/doc/LPRng
+
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/doc/LPRng
cd ${WRKDIR:Q} && \
pax -O -zrf ${DISTDIR:Q}/${DISTNAME:Q}${EXTRACT_SUFX:Q}
cd ${WRKSRC:Q} && \
- pax -rw *.dvi *.gif *.html *.ps *.txt ${PREFIX:Q}/share/doc/LPRng
+ pax -rw *.dvi *.gif *.html *.ps *.txt ${DESTDIR}${PREFIX}/share/doc/LPRng
.include "../../mk/bsd.pkg.mk"