summaryrefslogtreecommitdiff
path: root/textproc/dsssl-docbook-modular/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/dsssl-docbook-modular/Makefile')
-rw-r--r--textproc/dsssl-docbook-modular/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/textproc/dsssl-docbook-modular/Makefile b/textproc/dsssl-docbook-modular/Makefile
index b2bb25ed14a..4097c7c8bd0 100644
--- a/textproc/dsssl-docbook-modular/Makefile
+++ b/textproc/dsssl-docbook-modular/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/03/21 06:00:49 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2008/01/14 23:18:12 heinz Exp $
DISTNAME= docbook-dsssl-1.79
PKGNAME= dsssl-docbook-modular-1.79
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://docbook.sourceforge.net/
COMMENT= DSSSL stylesheets for the DocBook DTD
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= docbook>=4.0:../../textproc/docbook
NO_MTREE= yes
@@ -25,14 +27,11 @@ do-build:
@${RM} -rf ${WRKSRC}/docsrc
pre-install:
- ${INSTALL_DATA_DIR} ${INSTDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${INSTDIR}
do-install:
- @${CP} -rp ${WRKSRC}/* ${INSTDIR}
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
-
-post-install:
- @${CAT} ${FILESDIR}/install-note
+ @${CP} -rp ${WRKSRC}/* ${DESTDIR}${INSTDIR}
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${INSTDIR}
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"