diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-05 17:31:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-05 17:31:09 +0000 |
commit | aa48c982406bf3ae2fc7616f0d5dfd0654627380 (patch) | |
tree | 9c7b8d7af3ab6f4c4b742fb364df84b9851cf76c /security/gnutls | |
parent | 6e82078eeffa2d3575e27ed632f26e8ec04106e6 (diff) | |
download | pkgsrc-aa48c982406bf3ae2fc7616f0d5dfd0654627380.tar.gz |
DESTDIR support.
Diffstat (limited to 'security/gnutls')
-rw-r--r-- | security/gnutls/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile index 3ab9c0e486c..60a50fea85a 100644 --- a/security/gnutls/Makefile +++ b/security/gnutls/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2006/09/16 06:21:22 wiz Exp $ +# $NetBSD: Makefile,v 1.53 2006/11/05 17:35:58 joerg Exp $ DISTNAME= gnutls-1.4.4 CATEGORIES= security devel @@ -14,6 +14,7 @@ HOMEPAGE= http://www.gnutls.org/ COMMENT= GNU Transport Layer Security library PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LIBTOOL= yes USE_TOOLS+= gmake @@ -34,15 +35,12 @@ MAKE_ENV+= TZ=UTC DOCDIR= ${PREFIX}/share/doc/gnutls EGDIR= ${PREFIX}/share/examples/gnutls -pre-install: - ${INSTALL_DATA_DIR} ${PREFIX}/include/gnutls +INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} include/gnutls post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/TODO ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/gnutls.ps ${DOCDIR} - ${INSTALL_DATA_DIR} ${EGDIR} - cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} *.c ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/TODO ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/gnutls.ps ${DESTDIR}${DOCDIR} + cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} *.c ${DESTDIR}${EGDIR} .include "../../archivers/lzo/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" |