summaryrefslogtreecommitdiff
path: root/editors/hexedit
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-29 19:43:36 +0000
committerjoerg <joerg>2010-01-29 19:43:36 +0000
commit09d6b6a4e7d7cfe6888dbbe4bd65ea5094c1307d (patch)
treef96e2b9208214b60919e3b089639838c058b1f6c /editors/hexedit
parent1b1bfa09c62fbe65ceaa6d045df9ccfdef9847d1 (diff)
downloadpkgsrc-09d6b6a4e7d7cfe6888dbbe4bd65ea5094c1307d.tar.gz
DESTDIR support
Diffstat (limited to 'editors/hexedit')
-rw-r--r--editors/hexedit/Makefile6
-rw-r--r--editors/hexedit/distinfo4
-rw-r--r--editors/hexedit/patches/patch-ac6
3 files changed, 10 insertions, 6 deletions
diff --git a/editors/hexedit/Makefile b/editors/hexedit/Makefile
index ee2cd492a45..e466b059c25 100644
--- a/editors/hexedit/Makefile
+++ b/editors/hexedit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2008/11/06 19:06:32 snj Exp $
+# $NetBSD: Makefile,v 1.29 2010/01/29 19:45:03 joerg Exp $
DISTNAME= hexedit-1.2.12
CATEGORIES= editors
@@ -9,8 +9,12 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://merd.sourceforge.net/pixel/hexedit.html
COMMENT= To view and edit files in hexadecimal or ASCII
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/hexedit
GNU_CONFIGURE= yes
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/hexedit/distinfo b/editors/hexedit/distinfo
index f3f0811aa91..faeee842cb7 100644
--- a/editors/hexedit/distinfo
+++ b/editors/hexedit/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2008/11/06 19:06:32 snj Exp $
+$NetBSD: distinfo,v 1.10 2010/01/29 19:45:03 joerg Exp $
SHA1 (hexedit-1.2.12.src.tgz) = fee89e390945045fe6b74b5f07600a8e664c8b21
RMD160 (hexedit-1.2.12.src.tgz) = 76f30d62e5c4b18fdba60cf7852641ba2b547dbb
Size (hexedit-1.2.12.src.tgz) = 65802 bytes
-SHA1 (patch-ac) = 969c8f19692e63eb817f917f35b8ff871e689ed9
+SHA1 (patch-ac) = 348afc4a215a026df59ee9a1923d3b92dba7eb51
SHA1 (patch-ae) = 49627dd5704fb9cd7b6ac08d01d3324ff2d2babd
diff --git a/editors/hexedit/patches/patch-ac b/editors/hexedit/patches/patch-ac
index 55f4d9fe6e1..9f462b9d6ec 100644
--- a/editors/hexedit/patches/patch-ac
+++ b/editors/hexedit/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.6 2002/01/18 22:59:31 mjl Exp $
+$NetBSD: patch-ac,v 1.7 2010/01/29 19:45:03 joerg Exp $
--- Makefile.in.orig Thu Oct 25 00:00:51 2001
+++ Makefile.in
@@ -10,5 +10,5 @@ $NetBSD: patch-ac,v 1.6 2002/01/18 22:59:31 mjl Exp $
- $(INSTALL) -s -m 755 $(PRODUCT) $(bindir)
- $(INSTALL) -d -m 755 $(mandir)/man1
- $(INSTALL) -m 644 $(PRODUCT).1 $(mandir)/man1
-+ $(BSD_INSTALL_PROGRAM) $(PRODUCT) $(bindir)
-+ $(BSD_INSTALL_DATA) $(PRODUCT).1 $(mandir)/man1/
++ $(BSD_INSTALL_PROGRAM) $(PRODUCT) ${DESTDIR}$(bindir)
++ $(BSD_INSTALL_DATA) $(PRODUCT).1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/