summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 22:22:58 +0000
committerjoerg <joerg>2009-07-07 22:22:58 +0000
commit567582effda5303b79784896c8884080f208b130 (patch)
tree5bc2d916ecd3080fc93963862a61a6e419c5b90f /textproc
parentbeddc53d9040aa2a1f46e0ffb1547e77377f3fea (diff)
downloadpkgsrc-567582effda5303b79784896c8884080f208b130.tar.gz
user-destdir support
Diffstat (limited to 'textproc')
-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"