summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 07:12:24 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 07:12:24 +0000
commit716b4edf9c3832c0ac8d5b892020a8fee172775a (patch)
treeadad21a6f3ffd99ae142f3aee6e93d9a8d019025
parentc79a3d3c8c0573bad72a7da7cb49f33330d32603 (diff)
downloadpkgsrc-716b4edf9c3832c0ac8d5b892020a8fee172775a.tar.gz
DESTDIR support.
-rw-r--r--chat/irssi-icb/Makefile8
-rw-r--r--chat/irssi/Makefile8
-rw-r--r--devel/autoconf/Makefile3
-rw-r--r--fonts/fontconfig/Makefile3
-rw-r--r--fonts/gentium-ttf/Makefile15
5 files changed, 24 insertions, 13 deletions
diff --git a/chat/irssi-icb/Makefile b/chat/irssi-icb/Makefile
index 9ac2c86030d..e48fa2fb291 100644
--- a/chat/irssi-icb/Makefile
+++ b/chat/irssi-icb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/07/07 15:49:31 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2006/11/03 07:12:25 joerg Exp $
#
DISTNAME= irssi-icb-0.14
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.irssi.org/
COMMENT= Irssi plugin to access ICB networks
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../chat/irssi/Makefile.common"
WRKSRC= ${WRKDIR}/${IRSSI_DISTNAME}/${DISTNAME}
@@ -24,6 +26,8 @@ SHLIBTOOL_OVERRIDE= # empty
CONFIGURE_ARGS+= --with-irssi=${WRKDIR}/${IRSSI_DISTNAME}
+INSTALLATION_DIRS+= share/doc/irssi
+
post-extract:
cd ${WRKDIR} && ${LN} -s ${IRSSI_DISTNAME:S/a//} ${IRSSI_DISTNAME}
${MV} ${WRKDIR}/${DISTNAME} ${WRKDIR}/${IRSSI_DISTNAME}
@@ -31,7 +35,7 @@ post-extract:
${CP} ${IRSSI_CONFIG} ${WRKDIR}/${IRSSI_DISTNAME}/irssi-config
post-install:
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/irssi/README.icb
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/irssi/README.icb
.include "../../devel/glib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/irssi/Makefile b/chat/irssi/Makefile
index 829cd78df9e..dde051ee567 100644
--- a/chat/irssi/Makefile
+++ b/chat/irssi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2006/03/04 06:34:13 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2006/11/03 07:12:24 joerg Exp $
DISTNAME= ${IRSSI_DISTNAME}
CATEGORIES= chat
@@ -9,6 +9,8 @@ MAINTAINER= mutru@iki.fi
HOMEPAGE= http://www.irssi.org/
COMMENT= Secure and modular IRC client with text mode user interface
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "Makefile.common"
GNU_CONFIGURE= yes
@@ -31,7 +33,7 @@ CONF_FILES= ${EGDIR}/irssi.conf ${PKG_SYSCONFDIR}/irssi.conf
.include "../../devel/glib2/buildlink3.mk"
post-install:
- ${INSTALL_DATA} ${WRKSRC}/config.h ${IRSSI_CONFIG_H}
- ${INSTALL_DATA} ${WRKSRC}/irssi-config ${IRSSI_CONFIG}
+ ${INSTALL_DATA} ${WRKSRC}/config.h ${DESTDIR}${IRSSI_CONFIG_H}
+ ${INSTALL_DATA} ${WRKSRC}/irssi-config ${DESTDIR}${IRSSI_CONFIG}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile
index 5515f325b59..1c6e714f495 100644
--- a/devel/autoconf/Makefile
+++ b/devel/autoconf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2006/10/08 23:02:30 ben Exp $
+# $NetBSD: Makefile,v 1.63 2006/11/03 07:12:51 joerg Exp $
DISTNAME= autoconf-2.60
CATEGORIES= devel
@@ -16,6 +16,7 @@ USE_TOOLS+= gm4:run perl:run
CONFLICTS= autoconf-devel-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # empty
GNU_CONFIGURE= YES
diff --git a/fonts/fontconfig/Makefile b/fonts/fontconfig/Makefile
index 89a8da1bc13..c61a4af1a60 100644
--- a/fonts/fontconfig/Makefile
+++ b/fonts/fontconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2006/10/03 18:16:13 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2006/11/03 07:13:31 joerg Exp $
DISTNAME= fontconfig-2.4.1
CATEGORIES= fonts
@@ -9,6 +9,7 @@ HOMEPAGE= http://www.fontconfig.org/
COMMENT= Library for configuring and customizing font access
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
diff --git a/fonts/gentium-ttf/Makefile b/fonts/gentium-ttf/Makefile
index c7ff360be80..d8aa589ca19 100644
--- a/fonts/gentium-ttf/Makefile
+++ b/fonts/gentium-ttf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/05/26 21:12:59 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2006/11/03 07:13:31 joerg Exp $
#
DISTNAME= Gentium_102_W
@@ -12,6 +12,8 @@ MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://scripts.sil.org/
COMMENT= Free TrueType fonts from Bitstream, useful for web viewing
+PKG_DESTDIR_SUPPORT= user-destdir
+
MASTER_SITES= ${MASTER_SITE_LOCAL}
NO_CONFIGURE= YES
@@ -19,11 +21,12 @@ NO_BUILD= YES
FONTS_DIRS.ttf+= ${PREFIX}/lib/X11/fonts/TTF
+INSTALLATION_DIRS= lib/X11/fonts/TTF
+
do-install:
- ${INSTALL_DATA_DIR} ${FONTS_DIRS.ttf}
- ${INSTALL_DATA} ${WRKSRC}/GenAI102.TTF ${FONTS_DIRS.ttf}/genai102.ttf
- ${INSTALL_DATA} ${WRKSRC}/GenAR102.TTF ${FONTS_DIRS.ttf}/genar102.ttf
- ${INSTALL_DATA} ${WRKSRC}/GenI102.TTF ${FONTS_DIRS.ttf}/geni102.ttf
- ${INSTALL_DATA} ${WRKSRC}/GenR102.TTF ${FONTS_DIRS.ttf}/genr102.ttf
+ ${INSTALL_DATA} ${WRKSRC}/GenAI102.TTF ${DESTDIR}${FONTS_DIRS.ttf}/genai102.ttf
+ ${INSTALL_DATA} ${WRKSRC}/GenAR102.TTF ${DESTDIR}${FONTS_DIRS.ttf}/genar102.ttf
+ ${INSTALL_DATA} ${WRKSRC}/GenI102.TTF ${DESTDIR}${FONTS_DIRS.ttf}/geni102.ttf
+ ${INSTALL_DATA} ${WRKSRC}/GenR102.TTF ${DESTDIR}${FONTS_DIRS.ttf}/genr102.ttf
.include "../../mk/bsd.pkg.mk"