summaryrefslogtreecommitdiff
path: root/editors/beav
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /editors/beav
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'editors/beav')
-rw-r--r--editors/beav/Makefile6
-rw-r--r--editors/beav/distinfo4
-rw-r--r--editors/beav/patches/patch-aa10
3 files changed, 12 insertions, 8 deletions
diff --git a/editors/beav/Makefile b/editors/beav/Makefile
index 3f40a45bac6..16d5d5b905f 100644
--- a/editors/beav/Makefile
+++ b/editors/beav/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/11/25 12:15:52 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:17 joerg Exp $
DISTNAME= beav_1.40.orig
PKGNAME= beav-1.40.18
@@ -12,6 +12,10 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= bad@NetBSD.org
COMMENT= Binary Editor And Viewer, a full featured binary file editor
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
WRKSRC= ${WRKDIR}/beav-140
MAKE_ENV+= SED=${SED:Q}
BUILD_TARGET= beav
diff --git a/editors/beav/distinfo b/editors/beav/distinfo
index 66da438de18..800339f36a9 100644
--- a/editors/beav/distinfo
+++ b/editors/beav/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2007/12/16 15:53:44 yyamano Exp $
+$NetBSD: distinfo,v 1.8 2008/06/20 01:09:17 joerg Exp $
SHA1 (beav_1.40-18.diff.gz) = 9cd82a3b8de391e1f001d241be1c2c3fadb3efb9
RMD160 (beav_1.40-18.diff.gz) = 0e7b19fdc7ea16e1e24e8302d81dfb247e947603
@@ -6,7 +6,7 @@ Size (beav_1.40-18.diff.gz) = 14218 bytes
SHA1 (beav_1.40.orig.tar.gz) = c610a0c3581c681c26726c8e1e19bf7e38ca8a6a
RMD160 (beav_1.40.orig.tar.gz) = 621df359860a8ec9205413520961d4366b1ad8ea
Size (beav_1.40.orig.tar.gz) = 128103 bytes
-SHA1 (patch-aa) = 95fcc3806fa57ad380b4c16089c3bcf7cfd6a6dc
+SHA1 (patch-aa) = 59a2043fa5da8c326dc0732701b3377ed7422a44
SHA1 (patch-ab) = 629db527f0718de30bdc67cb8387c4488d9f9437
SHA1 (patch-ac) = 6c575aa6e69fc4281956310176c12a086c6ae400
SHA1 (patch-ad) = 4cb29fa7dab5d5fc7ccff1dff090b189146e32c8
diff --git a/editors/beav/patches/patch-aa b/editors/beav/patches/patch-aa
index 87527ff488f..7e220c1aa2a 100644
--- a/editors/beav/patches/patch-aa
+++ b/editors/beav/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2007/11/25 12:15:53 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2008/06/20 01:09:17 joerg Exp $
--- Makefile.orig 2007-11-25 12:10:44.000000000 +0000
+++ Makefile
@@ -18,10 +18,10 @@ $NetBSD: patch-aa,v 1.2 2007/11/25 12:15:53 wiz Exp $
+ $(CC) $(CFLAGS) $(OFILES) -ltermcap -o beav
+
+install: beav beav.1
-+ $(BSD_INSTALL_PROGRAM) beav $(PREFIX)/bin
-+ mkdir -p $(PREFIX)/share/doc/beav
-+ $(BSD_INSTALL_DATA) beav140.txt $(PREFIX)/share/doc/beav/beav.txt
-+ $(BSD_INSTALL_MAN) beav.1 $(PREFIX)/man/man1
++ $(BSD_INSTALL_PROGRAM) beav ${DESTDIR}$(PREFIX)/bin
++ mkdir -p ${DESTDIR}$(PREFIX)/share/doc/beav
++ $(BSD_INSTALL_DATA) beav140.txt ${DESTDIR}$(PREFIX)/share/doc/beav/beav.txt
++ $(BSD_INSTALL_MAN) beav.1 ${DESTDIR}$(PREFIX)/man/man1
clean:
rm -f *.o beav