pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/convertlit user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/ac8118d35c66
branches: trunk
changeset: 561250:ac8118d35c66
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 07 22:22:58 2009 +0000
description:
user-destdir support
diffstat:
textproc/convertlit/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r ca1049471fdc -r ac8118d35c66 textproc/convertlit/Makefile
--- a/textproc/convertlit/Makefile Tue Jul 07 22:22:08 2009 +0000
+++ b/textproc/convertlit/Makefile Tue Jul 07 22:22:58 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/09/09 02:46:08 obache Exp $
+# $NetBSD: Makefile,v 1.7 2009/07/07 22:22:58 joerg Exp $
#
# In order to ensure compliance with U.S. and international law, please
# do not modify this file to provide pointers to the source or homepage
@@ -16,6 +16,8 @@
HOMEPAGE= ${CONVERTLIT_HOMEPAGE}
COMMENT= Convert Microsoft Legal Reader format eBooks into open format
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
BUILD_DIRS= lib clit18
MAKE_FILE= makefile
@@ -33,8 +35,10 @@
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
+INSTALLATION_DIRS= bin
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/clit18/clit ${PREFIX}/bin/convertlit
+ ${INSTALL_PROGRAM} ${WRKSRC}/clit18/clit ${DESTDIR}${PREFIX}/bin/convertlit
.include "../../math/ltm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index