summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorheinz <heinz>2007-09-18 19:44:40 +0000
committerheinz <heinz>2007-09-18 19:44:40 +0000
commite641429c1c341e1d1058a3d993406980235dbb0f (patch)
tree424955e7b8a0521f0c08d592067a83a8d50c3e87 /converters
parentf83b0d6f79ddb3837f31f415cb2a825ebdf52d8f (diff)
downloadpkgsrc-e641429c1c341e1d1058a3d993406980235dbb0f.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'converters')
-rw-r--r--converters/uulib/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/converters/uulib/Makefile b/converters/uulib/Makefile
index 94a5b416fd1..1ccac90a098 100644
--- a/converters/uulib/Makefile
+++ b/converters/uulib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2007/02/22 19:26:15 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2007/09/18 19:44:40 heinz Exp $
#
DISTNAME= uudeview-0.5.20
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fpx.de/fp/Software/UUDeview/
COMMENT= Library for uu/xx/Base64/BinHex de-/encoding
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_DIRS= uulib
BUILD_DIRS= uulib
@@ -27,14 +29,16 @@ DOCFILES= HISTORY doc/Makefile doc/README doc/binhex.fig \
INSTALLATION_DIRS= include lib ${PKGMANDIR}/man3
do-install:
- ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/uulib/libuu.la ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include
+ ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/uulib/libuu.la \
+ ${DESTDIR:Q}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${DESTDIR:Q}${PREFIX}/include
${SED} -e 's|FUNKYTOKENHERE|${PREFIX}|g' \
< ${FILESDIR}/uulib.3 > ${WRKSRC}/uulib.3
- ${INSTALL_MAN} ${WRKSRC}/uulib.3 ${PREFIX}/${PKGMANDIR}/man3
- @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uulib
+ ${INSTALL_MAN} ${WRKSRC}/uulib.3 ${DESTDIR:Q}${PREFIX}/${PKGMANDIR}/man3
+ @${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX}/share/doc/uulib
.for docfile in ${DOCFILES}
- @${INSTALL_MAN} ${WRKSRC}/${docfile} ${PREFIX}/share/doc/uulib
+ @${INSTALL_MAN} ${WRKSRC}/${docfile} \
+ ${DESTDIR:Q}${PREFIX}/share/doc/uulib
.endfor
.include "../../mk/bsd.pkg.mk"