diff options
author | heinz <heinz@pkgsrc.org> | 2007-09-18 19:44:40 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2007-09-18 19:44:40 +0000 |
commit | 6ebf1b25d70317ef4306d893b12b2bedc8dbdf06 (patch) | |
tree | 424955e7b8a0521f0c08d592067a83a8d50c3e87 /converters | |
parent | ba5303bd5c9089ec99aa0618f8b6372ebbd2e8d0 (diff) | |
download | pkgsrc-6ebf1b25d70317ef4306d893b12b2bedc8dbdf06.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/uulib/Makefile | 16 |
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" |