summaryrefslogtreecommitdiff
path: root/mail/sympa
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2011-06-19 13:50:57 +0000
committerbouyer <bouyer@pkgsrc.org>2011-06-19 13:50:57 +0000
commit2aff48dfbb2181a507d4939b795ebc77848317df (patch)
tree06c49100bf06f9ba9e379cd93178d80134a7d439 /mail/sympa
parent0da2cac9868f8766f0d6001e285ce3f0f356ab1f (diff)
downloadpkgsrc-2aff48dfbb2181a507d4939b795ebc77848317df.tar.gz
Add destdir support
Diffstat (limited to 'mail/sympa')
-rw-r--r--mail/sympa/Makefile10
-rw-r--r--mail/sympa/distinfo4
-rw-r--r--mail/sympa/patches/patch-ai10
3 files changed, 13 insertions, 11 deletions
diff --git a/mail/sympa/Makefile b/mail/sympa/Makefile
index 0b676cc081a..67dd6140ba6 100644
--- a/mail/sympa/Makefile
+++ b/mail/sympa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2010/08/21 16:35:10 seb Exp $
+# $NetBSD: Makefile,v 1.44 2011/06/19 13:50:57 bouyer Exp $
#
DISTNAME= sympa-5.4.4
@@ -11,6 +11,8 @@ MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://www.sympa.org/
COMMENT= Mailing list manager
+PKG_DESTDIR_SUPPORT= destdir
+
DEPENDS+= p5-Archive-Zip>=1.05:../../archivers/p5-Archive-Zip
DEPENDS+= p5-MIME-Base64>=1.0:../../converters/p5-MIME-Base64
DEPENDS+= p5-DBD-Sybase>=0.90:../../databases/p5-DBD-Sybase
@@ -137,10 +139,10 @@ INSTALLATION_DIRS+= share/doc/sympa
post-install:
.if ${OPSYS} == "NetBSD"
: We do not support set-uid scripts...
- ${CHMOD} ug-s ${SYMPA_BIN}/sympa_soap_server.fcgi
- ${CHMOD} ug-s ${SYMPA_BIN}/wwsympa.fcgi
+ ${CHMOD} ug-s ${DESTDIR}${SYMPA_BIN}/sympa_soap_server.fcgi
+ ${CHMOD} ug-s ${DESTDIR}${SYMPA_BIN}/wwsympa.fcgi
.endif
- ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/sympa/NEWS
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/share/doc/sympa/NEWS
.include "../../lang/perl5/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
diff --git a/mail/sympa/distinfo b/mail/sympa/distinfo
index 31272c3709a..0ccf738b752 100644
--- a/mail/sympa/distinfo
+++ b/mail/sympa/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2008/12/20 19:02:12 bouyer Exp $
+$NetBSD: distinfo,v 1.12 2011/06/19 13:50:57 bouyer Exp $
SHA1 (sympa-5.4.4.tar.gz) = 673d3a031ef2718ed234ce0814ad1d0083883919
RMD160 (sympa-5.4.4.tar.gz) = fb0b61ac3a56981ac7f44a1863504be937e4f4b5
@@ -9,5 +9,5 @@ SHA1 (patch-ac) = 77802bab188da024c18810c07bf62064b28e3af1
SHA1 (patch-af) = ba9888ed1eed387f7758946aaeeaa5f408c2d760
SHA1 (patch-ag) = 97af077204f004945619d9a457e03430df1e2642
SHA1 (patch-ah) = 6a0b34ef49a7d68ac996251adee14ef29519f92d
-SHA1 (patch-ai) = 4ce47ec2a664978cccbba7f075ee5315ee0bfa5d
+SHA1 (patch-ai) = 5c209365e8ec7dbd35325507f413aa7660cf47d4
SHA1 (patch-aj) = 639241f48effabc49d46a23f255a33cb51404d44
diff --git a/mail/sympa/patches/patch-ai b/mail/sympa/patches/patch-ai
index c6f2fe3c1c9..3af4868a6c9 100644
--- a/mail/sympa/patches/patch-ai
+++ b/mail/sympa/patches/patch-ai
@@ -1,15 +1,15 @@
-$NetBSD: patch-ai,v 1.1 2008/04/27 17:06:41 bouyer Exp $
+$NetBSD: patch-ai,v 1.2 2011/06/19 13:50:57 bouyer Exp $
---- wwsympa/Makefile.orig 2008-04-27 15:14:36.000000000 +0200
-+++ wwsympa/Makefile 2008-04-27 15:14:59.000000000 +0200
+--- wwsympa/Makefile.orig 2008-01-30 18:10:56.000000000 +0100
++++ wwsympa/Makefile 2011-06-19 15:44:24.000000000 +0200
@@ -100,8 +100,8 @@
installicons:
@echo "Installing icons..."
- @echo $(DIR)/static_content/icons
- cp icons/*.png $(DIR)/static_content/icons
-+ @echo $(DIR)/sympa/static_content/icons
-+ cp icons/*.png $(DIR)/sympa/static_content/icons
++ @echo $(DESTDIR)$(DIR)/sympa/static_content/icons
++ cp icons/*.png $(DESTDIR)$(DIR)/sympa/static_content/icons
installwrapper:
@echo "Installing wwsympa-wrapper binary..."