summaryrefslogtreecommitdiff
path: root/mail/poppassd
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /mail/poppassd
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'mail/poppassd')
-rw-r--r--mail/poppassd/Makefile15
-rw-r--r--mail/poppassd/distinfo4
-rw-r--r--mail/poppassd/patches/patch-ab4
3 files changed, 12 insertions, 11 deletions
diff --git a/mail/poppassd/Makefile b/mail/poppassd/Makefile
index 3af814f9d13..6a6a2fe0262 100644
--- a/mail/poppassd/Makefile
+++ b/mail/poppassd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/01/07 09:13:59 rillig Exp $
+# $NetBSD: Makefile,v 1.25 2008/06/12 02:14:35 joerg Exp $
#
DISTNAME= qpopper${VERSION}
@@ -14,6 +14,8 @@ MAINTAINER= mellon@fugue.com
HOMEPAGE= ${QPOPPER_HOMEPAGE}
COMMENT= Qualcomm's password change server mainly for Eudora
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mail/qpopper/Makefile.common"
CONFIGURE_ARGS+= --enable-poppassd --without-pam
@@ -23,6 +25,8 @@ MAKE_ENV+= ROOT_USER=${ROOT_USER:Q} ROOT_GROUP=${ROOT_GROUP:Q}
.include "options.mk"
INSTALLATION_DIRS= ${PKGMANDIR}/man8 share/doc libexec
+# popper makefile doesn't have an install target...
+INSTALL_DIRS= password
do-build:
.for DIR in common password
@@ -30,12 +34,9 @@ do-build:
${MAKE_PROGRAM} ${MAKE_FLAGS} ${BUILD_TARGET}
.endfor
-# popper makefile doesn't have an install target...
-do-install:
- cd ${WRKSRC}/password; ${SETENV} ${MAKE_ENV} \
- ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
- ${INSTALL_MAN} ${WRKSRC}/man/poppassd.8 ${PREFIX}/${PKGMANDIR}/man8
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/man/poppassd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
${INSTALL_DATA} ${WRKSRC}/License.txt \
- ${PREFIX}/share/doc/poppassd.License;
+ ${DESTDIR}${PREFIX}/share/doc/poppassd.License;
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/poppassd/distinfo b/mail/poppassd/distinfo
index 57805bf3c0f..e39ef09de53 100644
--- a/mail/poppassd/distinfo
+++ b/mail/poppassd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2006/05/05 02:52:33 taca Exp $
+$NetBSD: distinfo,v 1.16 2008/06/12 02:14:35 joerg Exp $
SHA1 (qpopper4.0.9.tar.gz) = 5629aa86d92fe10565021980882dffb733ce73d9
RMD160 (qpopper4.0.9.tar.gz) = b48a68cd9e282bfb3d78c6b53f3dee7c97bdf77d
@@ -7,7 +7,7 @@ SHA1 (qpopper4.0.8-ipv6-20050515.diff.gz) = 3ccd51fa8fb1633c34dee19e6d50351cb649
RMD160 (qpopper4.0.8-ipv6-20050515.diff.gz) = 0ca9a8893e31933d8bf33a3cfa4d88fde511ed5e
Size (qpopper4.0.8-ipv6-20050515.diff.gz) = 11479 bytes
SHA1 (patch-aa) = 0dd1bdc832d00bd640e7003afea28f0d90c2f975
-SHA1 (patch-ab) = 713698d5834b569a0ee08088567a71e218d50550
+SHA1 (patch-ab) = 0c51cede93abbcc7c25025063b3da8e3d8f1a048
SHA1 (patch-ac) = 2da65909cdbf8932c1ee7d65b41e115fa961a040
SHA1 (patch-ad) = 01036ef18732b3a7576ac79e35ea9b027e2eef63
SHA1 (patch-ae) = fa5febd4eedccdbd5610821b222a689193993bae
diff --git a/mail/poppassd/patches/patch-ab b/mail/poppassd/patches/patch-ab
index ab17035f484..087d50025f9 100644
--- a/mail/poppassd/patches/patch-ab
+++ b/mail/poppassd/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.4 2003/04/29 14:22:46 taca Exp $
+$NetBSD: patch-ab,v 1.5 2008/06/12 02:14:35 joerg Exp $
--- password/Makefile.in.orig Fri Apr 5 04:38:33 2002
+++ password/Makefile.in Thu May 2 14:22:07 2002
@@ -16,7 +16,7 @@ $NetBSD: patch-ab,v 1.4 2003/04/29 14:22:46 taca Exp $
install:
- ${INSTALL} -m 4755 -o root -g 0 poppassd ${installdir}/poppassd; \
-+ ${INSTALL} -m 555 -o ${ROOT_USER} -g ${ROOT_GROUP} poppassd ${installdir}/poppassd; \
++ ${INSTALL} -m 555 -o ${ROOT_USER} -g ${ROOT_GROUP} poppassd ${DESTDIR}${installdir}/poppassd; \
echo "Installed poppassd as ${installdir}/poppassd"
poppassd: ${OBJS} ${common_dir}/libcommon.a