summaryrefslogtreecommitdiff
path: root/print/xpp
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 16:41:59 +0000
committerjoerg <joerg>2010-01-27 16:41:59 +0000
commitd6bfae3856e53ed0d8da35a874a339995c86c44f (patch)
tree49f3815f0bfd893cdd2d814e2823a54102162619 /print/xpp
parentb581dce592308ff7d65eab8f0ca9eeb101caeb65 (diff)
downloadpkgsrc-d6bfae3856e53ed0d8da35a874a339995c86c44f.tar.gz
DESTDIR support
Diffstat (limited to 'print/xpp')
-rw-r--r--print/xpp/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/print/xpp/Makefile b/print/xpp/Makefile
index 80541184b53..69671637e96 100644
--- a/print/xpp/Makefile
+++ b/print/xpp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2010/01/18 09:59:24 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2010/01/27 16:47:08 joerg Exp $
DISTNAME= xpp-1.5
PKGREVISION= 4
@@ -9,17 +9,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cups.sourceforge.net/xpp/index.html
COMMENT= X Printing Panel
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
DOCDIR= ${PREFIX}/share/doc/xpp
-.include "../../print/cups/buildlink3.mk"
-.include "../../x11/fltk/buildlink3.mk"
+INSTALLATION_DIRS+= ${DOCDIR}
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- cd ${WRKSRC}; ${INSTALL_DATA} LICENSE README ${DOCDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} LICENSE README ${DESTDIR}${DOCDIR}
+.include "../../print/cups/buildlink3.mk"
+.include "../../x11/fltk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"