summaryrefslogtreecommitdiff
path: root/mail/ripmime
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-04 02:31:29 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-04 02:31:29 +0000
commitbc5e38767d131e2f4488a4a8353c1e619cb6ced2 (patch)
tree87809cbb157a633cf256f8b100cb8fa1dfb4e8c7 /mail/ripmime
parent0afdd75f94fc654ca7ee21500eec5076a810cceb (diff)
downloadpkgsrc-bc5e38767d131e2f4488a4a8353c1e619cb6ced2.tar.gz
DESTDIR support
Diffstat (limited to 'mail/ripmime')
-rw-r--r--mail/ripmime/Makefile13
-rw-r--r--mail/ripmime/distinfo4
-rw-r--r--mail/ripmime/patches/patch-aa20
3 files changed, 11 insertions, 26 deletions
diff --git a/mail/ripmime/Makefile b/mail/ripmime/Makefile
index 51f95a2e68c..0ed8e65930b 100644
--- a/mail/ripmime/Makefile
+++ b/mail/ripmime/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2009/06/30 00:07:19 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2010/02/04 02:39:54 joerg Exp $
#
DISTNAME= ripmime-1.4.0.2
@@ -9,10 +9,13 @@ MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.pldaniels.com/ripmime/
COMMENT= Extract the attached files out of a MIME encoded email package
-PKGMANDIR?= man
-MAKE_ENV+= PKGMANDIR=${PKGMANDIR:Q}
-INSTALLATION_DIRS= bin ${PKGMANDIR}
-
+PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ripmime ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ripmime.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/ripmime/distinfo b/mail/ripmime/distinfo
index e5a10d3d09e..2f113c0d3e6 100644
--- a/mail/ripmime/distinfo
+++ b/mail/ripmime/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 09:59:28 agc Exp $
+$NetBSD: distinfo,v 1.4 2010/02/04 02:39:54 joerg Exp $
SHA1 (ripmime-1.4.0.2.tar.gz) = c1d939b7cc311e538513a7eea10cb03f36d5969b
RMD160 (ripmime-1.4.0.2.tar.gz) = 4d0b54d661f3690dd0da43f7a235f8995411b8c2
Size (ripmime-1.4.0.2.tar.gz) = 157535 bytes
-SHA1 (patch-aa) = 2f3ca62a3a3921ee7407cc97c2f72efadd95dc08
+SHA1 (patch-aa) = 5c8ddb663a0ebf476449819bd9923a7607654535
diff --git a/mail/ripmime/patches/patch-aa b/mail/ripmime/patches/patch-aa
index 0c1514c0cce..2d7b7e96000 100644
--- a/mail/ripmime/patches/patch-aa
+++ b/mail/ripmime/patches/patch-aa
@@ -1,16 +1,7 @@
-$NetBSD: patch-aa,v 1.2 2004/11/27 07:41:06 reed Exp $
+$NetBSD: patch-aa,v 1.3 2010/02/04 02:39:54 joerg Exp $
--- Makefile.orig Fri Nov 26 17:14:55 2004
+++ Makefile
-@@ -3,7 +3,7 @@
- #
- # 0.1.13: Added -I.
-
--LOCATION=/usr/local
-+LOCATION=$(PREFIX)
- VERSION=0.1.14
- # VERSION changes
- #---------------------
@@ -15,7 +15,7 @@ VERSION=0.1.14
# use our recommended settings.
#CFLAGS ?= -Wall -g -O2 -Werror $(CPU_OPTS)
@@ -20,12 +11,3 @@ $NetBSD: patch-aa,v 1.2 2004/11/27 07:41:06 reed Exp $
# OLE decoding is still considered to be 'beta' mode - so it
# disabled in the stable release of ripMIME for now
-@@ -74,7 +74,7 @@ riptest: ${OFILES}
- install: ${OBJ}
- strip ripmime
- cp ripmime ${LOCATION}/bin/
-- cp ripmime.1 ${LOCATION}/man/man1
-+ cp ripmime.1 ${LOCATION}/$(PKGMANDIR)/man1
-
- clean:
- rm -f *.o *core ${OBJ} buildcodes.h