summaryrefslogtreecommitdiff
path: root/textproc/convertlit
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 22:22:58 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 22:22:58 +0000
commit2f3960cfd2bb02bed05403c342f536e0d21155e3 (patch)
tree5bc2d916ecd3080fc93963862a61a6e419c5b90f /textproc/convertlit
parent11835d14c53644d040e28bcf584a32e11d5e9d84 (diff)
downloadpkgsrc-2f3960cfd2bb02bed05403c342f536e0d21155e3.tar.gz
user-destdir support
Diffstat (limited to 'textproc/convertlit')
-rw-r--r--textproc/convertlit/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/convertlit/Makefile b/textproc/convertlit/Makefile
index 9edae9cfd04..7e2843c1ca6 100644
--- a/textproc/convertlit/Makefile
+++ b/textproc/convertlit/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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_BIN_ON_FTP= ${RESTRICTED}
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"