pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/fep PKG_DESTDIR_SUPPORT=user-destdir



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20112149fe0a
branches:  trunk
changeset: 568323:20112149fe0a
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 10 23:49:03 2009 +0000

description:
PKG_DESTDIR_SUPPORT=user-destdir

diffstat:

 misc/fep/Makefile         |   4 +++-
 misc/fep/distinfo         |   4 ++--
 misc/fep/patches/patch-aa |  16 +++++++++-------
 3 files changed, 14 insertions(+), 10 deletions(-)

diffs (70 lines):

diff -r 0dfe1471148c -r 20112149fe0a misc/fep/Makefile
--- a/misc/fep/Makefile Thu Dec 10 23:42:14 2009 +0000
+++ b/misc/fep/Makefile Thu Dec 10 23:49:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2009/05/19 08:59:23 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2009/12/10 23:49:03 abs Exp $
 
 DISTNAME=      fep
 PKGNAME=       fep-1.0
@@ -13,9 +13,11 @@
 RESTRICTED=    Do not redistribute for a fee.
 NO_SRC_ON_CDROM=${RESTRICTED}
 NO_BIN_ON_CDROM=${RESTRICTED}
+PKG_DESTDIR_SUPPORT=  user-destdir
 
 WRKSRC=                ${WRKDIR}
 MANCOMPRESSED= yes
+INSTALLATION_DIRS+= bin man/man1
 
 pre-build:
        cd ${WRKSRC} && \
diff -r 0dfe1471148c -r 20112149fe0a misc/fep/distinfo
--- a/misc/fep/distinfo Thu Dec 10 23:42:14 2009 +0000
+++ b/misc/fep/distinfo Thu Dec 10 23:49:03 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.13 2006/01/17 21:23:01 kristerw Exp $
+$NetBSD: distinfo,v 1.14 2009/12/10 23:49:03 abs Exp $
 
 SHA1 (fep.tar.gz) = 73fa55337b12dba3b91c9895e2c9adbbdfa9d960
 RMD160 (fep.tar.gz) = 2a8b9eeecd5c76bec5cdb524ae6c650f298ccbde
 Size (fep.tar.gz) = 40137 bytes
-SHA1 (patch-aa) = f62c430e029bdf8e434d9e492831192209bd6aab
+SHA1 (patch-aa) = 33cb713a2fc7d084a3769b7b9b61c7810ebacdd0
 SHA1 (patch-ab) = 2b6f6cff25a21b374dce4b0162dc06a6d0b6c24f
 SHA1 (patch-ac) = a306ac6a1fa580238e3ac89ea785fefe138ebb65
 SHA1 (patch-ad) = 78d5fd59d51542d304d3adcdde3a7ac48790d857
diff -r 0dfe1471148c -r 20112149fe0a misc/fep/patches/patch-aa
--- a/misc/fep/patches/patch-aa Thu Dec 10 23:42:14 2009 +0000
+++ b/misc/fep/patches/patch-aa Thu Dec 10 23:49:03 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.8 2005/12/10 22:10:47 christos Exp $
+$NetBSD: patch-aa,v 1.9 2009/12/10 23:49:03 abs Exp $
 
---- Makefile.orig      1993-06-09 22:51:22.000000000 -0400
-+++ Makefile   2005-12-10 17:00:00.000000000 -0500
-@@ -15,17 +15,30 @@
+--- Makefile.orig      1993-06-10 02:51:22.000000000 +0000
++++ Makefile
+@@ -15,17 +15,30 @@ OBJ        = fep_main.o fep_edit.o fep_hist.o f
  DISTRIBUTION\
        = Makefile fep.1 $(HEADER) $(SRC) feprc.sample README
  
@@ -37,12 +37,14 @@
  
  all: $(TARGET)
  
-@@ -37,7 +50,7 @@
+@@ -36,8 +49,8 @@ argv: fep_com.c
+       $(CC) -o argv -DMKARGDEBUG fep_util.c
  
  install: $(TARGET)
-       install -s $(TARGET) $(INSTDIR)
+-      install -s $(TARGET) $(INSTDIR)
 -      install -c fep.1 /usr/man/manl/fep.l
-+      gzip -9n -c fep.1 > ${PREFIX}/man/man1/fep.1.gz
++      install -s $(TARGET) $(DESTDIR)$(INSTDIR)
++      gzip -9n -c fep.1 > $(DESTDIR)${PREFIX}/man/man1/fep.1.gz
  
  fep.1: fep.jman
        sed -e '/^\.EG/d' -e '/^\.JP/,/^\.EJ/d' -e '/^\.\\"KS/,/^\.\\"KE/d' \



Home | Main Index | Thread Index | Old Index