From d45c4d4e4afed804c7ae57abfa384d815e3d0960 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 4 Feb 2010 01:46:15 +0000 Subject: DESTDIR support --- mail/coolmail/Makefile | 6 ++++-- mail/coolmail/distinfo | 4 ++-- mail/coolmail/patches/patch-aa | 6 +++--- 3 files changed, 9 insertions(+), 7 deletions(-) (limited to 'mail/coolmail') diff --git a/mail/coolmail/Makefile b/mail/coolmail/Makefile index 08f530c627a..370c4c7fd30 100644 --- a/mail/coolmail/Makefile +++ b/mail/coolmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2008/01/19 09:16:25 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2010/02/04 01:48:01 joerg Exp $ DISTNAME= coolmail-1.3 PKGREVISION= 2 @@ -9,6 +9,8 @@ EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Xbiff replacement with 3D animation and sound +PKG_DESTDIR_SUPPORT= user-destdir + OPSYSVARS+= EXTRA_LIBS EXTRA_LIBS.*= -lcompat EXTRA_LIBS.Interix= -lSM @@ -21,7 +23,7 @@ INSTALLATION_DIRS= bin lib/X11/app-defaults ${PKGMANDIR}/man1 post-install: ${INSTALL_DATA} ${WRKSRC}/Coolmail.ad \ - ${PREFIX}/lib/X11/app-defaults/Coolmail + ${DESTDIR}${PREFIX}/lib/X11/app-defaults/Coolmail .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" diff --git a/mail/coolmail/distinfo b/mail/coolmail/distinfo index 69c139aa824..156e27cd48e 100644 --- a/mail/coolmail/distinfo +++ b/mail/coolmail/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.6 2005/10/22 17:56:31 rillig Exp $ +$NetBSD: distinfo,v 1.7 2010/02/04 01:48:01 joerg Exp $ SHA1 (coolmail-1.3.tgz) = 7b8dccf16f575827a595f1025294dfc66f00a6dc RMD160 (coolmail-1.3.tgz) = e23a8e8a465d700163393e70ebed60870ddcbc95 Size (coolmail-1.3.tgz) = 26809 bytes -SHA1 (patch-aa) = 3baa02ca2f01c67724c1e01c095c0fbe65038df7 +SHA1 (patch-aa) = dd16e3150674a92f4ad43270d523bbc1f5b5eb16 SHA1 (patch-ab) = 35879a8f39e83e47b1598b761adcfa412d6b3104 SHA1 (patch-ac) = 1054bda16101047024e2f6811034cfdc4d340a66 diff --git a/mail/coolmail/patches/patch-aa b/mail/coolmail/patches/patch-aa index c0c91ab8f6d..4a3e5920dea 100644 --- a/mail/coolmail/patches/patch-aa +++ b/mail/coolmail/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.5 2005/10/22 16:17:14 rillig Exp $ +$NetBSD: patch-aa,v 1.6 2010/02/04 01:48:01 joerg Exp $ --- Makefile.orig Thu Jan 11 10:55:40 1996 +++ Makefile Thu Jul 16 05:07:04 1998 @@ -10,8 +10,8 @@ $NetBSD: patch-aa,v 1.5 2005/10/22 16:17:14 rillig Exp $ -MANDIR = /usr/local/man/man1 +INCLUDES = -I$(X11BASE)/include +LIB_DIRS = -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib -+BINDIR = $(PREFIX)/bin -+MANDIR = $(PREFIX)/man/man1 ++BINDIR = ${DESTDIR}$(PREFIX)/bin ++MANDIR = ${DESTDIR}$(PREFIX)/${PKGMANDIR}/man1 @@ -33,4 +33,6 @@ # feature. -- cgit v1.2.3