pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/pcvt-utils -- Add DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad4ded704cd9
branches: trunk
changeset: 534725:ad4ded704cd9
user: bjs <bjs%pkgsrc.org@localhost>
date: Tue Oct 30 02:22:54 2007 +0000
description:
-- Add DESTDIR support.
-- Use INSTALLATION_DIRS_FROM_PLIST=yes; share/playvt wasn't in PLIST.
-- Change some assignment operators to ?=, and:
-- Add USE_BSD_MAKEFILE=yes to set those values.
-- Bump rev.
diffstat:
sysutils/pcvt-utils/Makefile | 18 ++++++++++--------
sysutils/pcvt-utils/PLIST | 5 +++--
sysutils/pcvt-utils/distinfo | 3 ++-
sysutils/pcvt-utils/patches/patch-ai | 24 ++++++++++++++++++++++++
4 files changed, 39 insertions(+), 11 deletions(-)
diffs (104 lines):
diff -r d8d7a59ebf01 -r ad4ded704cd9 sysutils/pcvt-utils/Makefile
--- a/sysutils/pcvt-utils/Makefile Tue Oct 30 01:38:53 2007 +0000
+++ b/sysutils/pcvt-utils/Makefile Tue Oct 30 02:22:54 2007 +0000
@@ -1,30 +1,32 @@
-# $NetBSD: Makefile,v 1.9 2006/10/04 21:59:35 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2007/10/30 02:22:54 bjs Exp $
#
DISTNAME= netbsd-pcvt-20000611
PKGNAME= pcvt-utils-20000611
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/i386/isa/pcvt/
+HOMEPAGE= http://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/arch/i386/isa/pcvt/
COMMENT= Useful leftovers from pcvt: playvt and two font editors
-ONLY_FOR_PLATFORM= NetBSD-*-*
+PKG_DESTDIR_SUPPORT= user-destdir
-WRKSRC= ${WRKDIR}/pcvt/Util
+ONLY_FOR_PLATFORM= NetBSD-*-*
+USE_BSD_MAKEFILE= yes
+WRKSRC= ${WRKDIR}/pcvt/Util
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS_FROM_PLIST= yes
do-install:
${INSTALL_PROGRAM} \
${WRKSRC}/demo/playvt \
${WRKSRC}/fed/fed \
${WRKSRC}/fontedit/fontedit \
- ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/playvt
+ ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} \
${WRKSRC}/demo/*.vt \
- ${PREFIX}/share/playvt
+ ${DESTDIR}${PREFIX}/share/playvt
.include "../../mk/bsd.pkg.mk"
diff -r d8d7a59ebf01 -r ad4ded704cd9 sysutils/pcvt-utils/PLIST
--- a/sysutils/pcvt-utils/PLIST Tue Oct 30 01:38:53 2007 +0000
+++ b/sysutils/pcvt-utils/PLIST Tue Oct 30 02:22:54 2007 +0000
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:53:37 zuntum Exp $
-bin/playvt
+@comment $NetBSD: PLIST,v 1.2 2007/10/30 02:22:54 bjs Exp $
bin/fed
bin/fontedit
+bin/playvt
share/playvt/chardemo.vt
share/playvt/colors.vt
share/playvt/cowscene.vt
@@ -9,3 +9,4 @@
share/playvt/sgr.vt
share/playvt/twzone.vt
share/playvt/xmas.vt
+@dirrm share/playvt
diff -r d8d7a59ebf01 -r ad4ded704cd9 sysutils/pcvt-utils/distinfo
--- a/sysutils/pcvt-utils/distinfo Tue Oct 30 01:38:53 2007 +0000
+++ b/sysutils/pcvt-utils/distinfo Tue Oct 30 02:22:54 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2006/11/13 14:51:08 drochner Exp $
+$NetBSD: distinfo,v 1.7 2007/10/30 02:22:54 bjs Exp $
SHA1 (netbsd-pcvt-20000611.tar.gz) = ea51ded62dc82635f1eda3cd198b29cf6f4941ea
RMD160 (netbsd-pcvt-20000611.tar.gz) = 33364b8503d286047163e9f4256374faa3c6b455
@@ -11,3 +11,4 @@
SHA1 (patch-af) = ea4c0a0fee930184532d7f6961ef951d1e882027
SHA1 (patch-ag) = fe39a7224c9ea78d97750a90e110d805d353c0ad
SHA1 (patch-ah) = c7654e13adc69f365b9674b7aa369f8ffb2c757f
+SHA1 (patch-ai) = 436e86ec12165a3f2f6f004226f00e36c9a21e71
diff -r d8d7a59ebf01 -r ad4ded704cd9 sysutils/pcvt-utils/patches/patch-ai
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/pcvt-utils/patches/patch-ai Tue Oct 30 02:22:54 2007 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ai,v 1.1 2007/10/30 02:22:54 bjs Exp $
+
+--- Makefile.inc.orig 1999-06-04 14:47:33.000000000 -0400
++++ Makefile.inc
+@@ -4,8 +4,8 @@ ECHO ?= echo
+
+ BINDIR ?= /usr/bin
+ FONTDIR = /usr/share/pcvt/fonts
+-LIBDIR = /usr/lib
+-LIBMODE = 644
++LIBDIR ?= /usr/lib
++LIBMODE ?= 644
+
+ INCDIR= ${DESTDIR}/usr/include/machine
+
+@@ -15,7 +15,7 @@ MAN3EXT = 3
+ MAN4EXT = 4
+ MAN5EXT = 5
+ MAN8EXT = 8
+-MANDIR = /usr/share/man
++MANDIR ?= /usr/share/man
+
+ MAN = ${MAN1} ${MAN3} ${MAN4} ${MAN5} ${MAN8}
+
Home |
Main Index |
Thread Index |
Old Index