pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/jcabc2ps * Use INSTALL_MAN instead of INSTALL_DA...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ae7744bc4528
branches: trunk
changeset: 536868:ae7744bc4528
user: obache <obache%pkgsrc.org@localhost>
date: Thu Dec 27 12:48:38 2007 +0000
description:
* Use INSTALL_MAN instead of INSTALL_DATA for install manual.
* Need pre-created directories, then add DESTDIR support.
diffstat:
print/jcabc2ps/Makefile | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r bdb7a373ddf3 -r ae7744bc4528 print/jcabc2ps/Makefile
--- a/print/jcabc2ps/Makefile Thu Dec 27 12:28:09 2007 +0000
+++ b/print/jcabc2ps/Makefile Thu Dec 27 12:48:38 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/12/15 14:34:20 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2007/12/27 12:48:38 obache Exp $
#
DISTNAME= jcabc2ps-src
@@ -13,8 +13,12 @@
WRKSRC= ${WRKDIR}/jcabc2ps
+INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/jcabc2ps ${PREFIX}/bin/.
- ${INSTALL_DATA} ${WRKSRC}/doc/jcabc2ps.d ${PREFIX}/${PKGMANDIR}/cat1/jcabc2ps.0
+ ${INSTALL_PROGRAM} ${WRKSRC}/jcabc2ps ${DESTDIR}${PREFIX}/bin/.
+ ${INSTALL_MAN} ${WRKSRC}/doc/jcabc2ps.d ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/jcabc2ps.0
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index