summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-02 17:59:37 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-02 17:59:37 +0000
commit7f279c69f3bbfb01502eb4a86a67241c8385a76a (patch)
treebf98a947b9317d506539cf3bb1a6aee497b8bb5f /www
parenta249557e2ef3692a146b62db38822e71392b403b (diff)
downloadpkgsrc-7f279c69f3bbfb01502eb4a86a67241c8385a76a.tar.gz
DESTDIR support.
Diffstat (limited to 'www')
-rw-r--r--www/curl/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile
index feaeee634a7..f817242b892 100644
--- a/www/curl/Makefile
+++ b/www/curl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2006/10/31 23:04:22 wiz Exp $
+# $NetBSD: Makefile,v 1.69 2006/11/02 18:01:09 joerg Exp $
DISTNAME= curl-7.16.0
CATEGORIES= www
@@ -12,6 +12,7 @@ HOMEPAGE= http://curl.haxx.se/
COMMENT= Client that groks URLs
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
# list it into IPv6-ready packages
BUILD_DEFS+= USE_INET6
@@ -47,16 +48,17 @@ post-configure:
${WRKSRC}/include/curl/multi.h
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/curl
- for _f in MANUAL TheArtOfHttpScripting FAQ \
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/curl
+ for _f in MANUAL TheArtOfHttpScripting FAQ \
curl-config.pdf curl.pdf; do \
- ${INSTALL_DATA} ${WRKSRC}/docs/$${_f} \
- ${PREFIX}/share/doc/curl/${_f}; \
+ ${INSTALL_DATA} ${WRKSRC}/docs/$${_f} \
+ ${DESTDIR}${PREFIX}/share/doc/curl/${_f}; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/curl
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/curl
for _f in ${WRKSRC}/docs/examples/*.c \
${WRKSRC}/docs/examples/README; do \
- ${INSTALL_DATA} $${_f} ${PREFIX}/share/examples/curl; \
+ ${INSTALL_DATA} $${_f} \
+ ${DESTDIR}${PREFIX}/share/examples/curl; \
done
.include "../../devel/libidn/buildlink3.mk"