diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 19:31:33 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 19:31:33 +0000 |
commit | b30a189d73c29707f5ca769f2af9e79a1ca3e603 (patch) | |
tree | e4c0c8ee20e8fd1dd234834565a3637d2ba32655 /devel/ucl | |
parent | d94e0a48eba403d1c72dc93264890cf96de2b9c8 (diff) | |
download | pkgsrc-b30a189d73c29707f5ca769f2af9e79a1ca3e603.tar.gz |
DESTDIR support
Diffstat (limited to 'devel/ucl')
-rw-r--r-- | devel/ucl/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/ucl/Makefile b/devel/ucl/Makefile index 9db7a62b1ad..7599d1ebd04 100644 --- a/devel/ucl/Makefile +++ b/devel/ucl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2010/01/16 17:57:38 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2010/01/29 19:31:33 joerg Exp $ # DISTNAME= ucl-1.03 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.oberhumer.com/opensource/ucl/ COMMENT= Portable lossless data compression library PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LIBTOOL= YES GNU_CONFIGURE= YES @@ -26,8 +27,8 @@ INSTALLATION_DIRS= bin share/examples/ucl post-install: for i in simple.c lutil.h uclpack.c; do \ - ${INSTALL_DATA} ${WRKSRC}/examples/$$i ${PREFIX}/share/examples/ucl;\ + ${INSTALL_DATA} ${WRKSRC}/examples/$$i ${DESTDIR}${PREFIX}/share/examples/ucl;\ done; - cd ${WRKSRC}/examples && libtool --mode=install ${INSTALL_PROGRAM} uclpack ${PREFIX}/bin + cd ${WRKSRC}/examples && libtool --mode=install ${INSTALL_PROGRAM} uclpack ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |