summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-28 20:18:44 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-28 20:18:44 +0000
commit8439e370c15a0b8772ea5807a3c7ef18c760e6be (patch)
tree2a6034f90ce53e5d11167eebc96841fb0e0bc8d0 /chat
parent440c79b4d25ad52529eb710823ca37ff350216ce (diff)
downloadpkgsrc-8439e370c15a0b8772ea5807a3c7ef18c760e6be.tar.gz
DESTDIR support
Diffstat (limited to 'chat')
-rw-r--r--chat/pidgin-facebookchat/Makefile13
-rw-r--r--chat/pidgin-latex/Makefile12
2 files changed, 18 insertions, 7 deletions
diff --git a/chat/pidgin-facebookchat/Makefile b/chat/pidgin-facebookchat/Makefile
index b193381b5dd..d3427f75c88 100644
--- a/chat/pidgin-facebookchat/Makefile
+++ b/chat/pidgin-facebookchat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2010/01/20 14:04:52 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2010/01/28 20:18:44 joerg Exp $
VERSION= 1.27
DISTNAME= pidgin-facebookchat-source-${VERSION}
@@ -13,14 +13,21 @@ MAINTAINER= smb@NetBSD.org
HOMEPAGE= http://code.google.com/p/pidgin-facebookchat/
COMMENT= Plugin for pidgin to support Facebook IM
+PKG_DESTDIR_SUPPORT= user-destdir
+
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_MESSAGE.paths= Fixing absolute paths.
SUBST_FILES.paths= Makefile
SUBST_SED.paths= -e 's+-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include+-I${BUILDLINK_DIR}/include/glib/glib-2.0/glib -I${BUILDLINK_DIR}/include/glib/glib-2.0 -I${BUILDLINK_DIR}/lib/glib-2.0/include+g'
SUBST_SED.paths+= -e 's+-I/usr/include/libpurple+-I${BUILDLINK_DIR}/include/libpurple+g'
-SUBST_SED.paths+= -e 's+/usr/share/+${PREFIX}/share/+g'
-SUBST_SED.paths+= -e 's+/usr/lib/+${PREFIX}/lib/+g'
+SUBST_SED.paths+= -e 's+/usr/share/+${DESTDIR}${PREFIX}/share/+g'
+SUBST_SED.paths+= -e 's+/usr/lib/+${DESTDIR}${PREFIX}/lib/+g'
+
+INSTALLATION_DIRS+= lib/purple-2 \
+ share/pixmaps/pidgin/protocols/16 \
+ share/pixmaps/pidgin/protocols/22 \
+ share/pixmaps/pidgin/protocols/48
.include "../../chat/pidgin/buildlink3.mk"
.include "../../chat/libpurple/buildlink3.mk"
diff --git a/chat/pidgin-latex/Makefile b/chat/pidgin-latex/Makefile
index c4e97f117f7..eef2fabfbdf 100644
--- a/chat/pidgin-latex/Makefile
+++ b/chat/pidgin-latex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2010/01/20 14:04:52 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2010/01/28 20:19:01 joerg Exp $
VERSION= 1.2.1
PKGREVISION= 4
@@ -12,14 +12,18 @@ MAINTAINER= smb@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/pidgin-latex/
COMMENT= Plugin for pidgin to render LaTeX as images
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
USE_TOOLS+= pkg-config
-#PKG_DESTDIR_SUPPORT= user-destdir
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= lib/pidgin share/doc/pidgin-latex
-INSTALLATION_DIRS= share/doc/pidgin-latex
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/LaTeX.so ${DESTDIR}${PREFIX}/lib/pidgin/LaTeX.so
-post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pidgin-latex/
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick