pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/fastjar DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6d696d6425b
branches:  trunk
changeset: 535132:b6d696d6425b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 08 18:30:05 2007 +0000

description:
DESTDIR support.

diffstat:

 archivers/fastjar/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b1216a7d3b93 -r b6d696d6425b archivers/fastjar/Makefile
--- a/archivers/fastjar/Makefile        Thu Nov 08 18:19:24 2007 +0000
+++ b/archivers/fastjar/Makefile        Thu Nov 08 18:30:05 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/07/17 17:10:50 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2007/11/08 18:30:05 joerg Exp $
 #
 
 DISTNAME=      fastjar-0.93
@@ -12,14 +12,15 @@
 COMMENT=       C language version of the 'jar' archiver normally used by Java
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 GNU_CONFIGURE= YES
 
 INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/fastjar.1 ${PREFIX}/${PKGMANDIR}/man1
-       ${INSTALL_MAN} ${WRKSRC}/grepjar.1 ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/fastjar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/grepjar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index