pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/243ddcfa6e44
branches: trunk
changeset: 571380:243ddcfa6e44
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Feb 11 19:17:06 2010 +0000
description:
DESTDIR support
diffstat:
misc/dync/Makefile | 10 +++++++++-
misc/elizatalk/Makefile | 6 +++++-
misc/elizatalk/distinfo | 4 ++--
misc/elizatalk/patches/patch-aa | 6 +++---
4 files changed, 19 insertions(+), 7 deletions(-)
diffs (82 lines):
diff -r ac7c9e7bf007 -r 243ddcfa6e44 misc/dync/Makefile
--- a/misc/dync/Makefile Thu Feb 11 19:14:19 2010 +0000
+++ b/misc/dync/Makefile Thu Feb 11 19:17:06 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2009/05/22 18:16:19 zafer Exp $
+# $NetBSD: Makefile,v 1.17 2010/02/11 19:17:06 joerg Exp $
#
DISTNAME= dync-1.1
@@ -10,10 +10,18 @@
HOMEPAGE= http://www.alistaircrooks.co.uk/software.html
COMMENT= awk-like utility with C as language
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
BUILD_TARGET= tst
USE_TOOLS+= file_cmd
CONFIGURE_ENV+= FILE_CMD=${TOOLS_FILE_CMD:Q}
CONFIGURE_ENV+= ac_cv_path_LDCONFIG=${TOOLS_LDCONFIG:Q}
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dync ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/dync.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff -r ac7c9e7bf007 -r 243ddcfa6e44 misc/elizatalk/Makefile
--- a/misc/elizatalk/Makefile Thu Feb 11 19:14:19 2010 +0000
+++ b/misc/elizatalk/Makefile Thu Feb 11 19:17:06 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/03/04 21:30:10 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2010/02/11 19:18:55 joerg Exp $
DISTNAME= elizatalk-0.4
PKGREVISION= 1
@@ -9,7 +9,11 @@
HOMEPAGE= http://elizatalk.sourceforge.net/
COMMENT= Eliza talkback program
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/elizatalk-src
USE_TOOLS+= gmake
+INSTALLATION_DIRS+= bin
+
.include "../../mk/bsd.pkg.mk"
diff -r ac7c9e7bf007 -r 243ddcfa6e44 misc/elizatalk/distinfo
--- a/misc/elizatalk/distinfo Thu Feb 11 19:14:19 2010 +0000
+++ b/misc/elizatalk/distinfo Thu Feb 11 19:17:06 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 11:02:51 agc Exp $
+$NetBSD: distinfo,v 1.4 2010/02/11 19:18:55 joerg Exp $
SHA1 (elizatalk-0.4.tar.gz) = 8d5d1931fcd3d014b63d27d1c893661941800f84
RMD160 (elizatalk-0.4.tar.gz) = b293b8c200946c24d1c3bd68ab5dc5b6fffc8d3b
Size (elizatalk-0.4.tar.gz) = 116369 bytes
-SHA1 (patch-aa) = 4c8e1702707636cc3ef516b1a9a26f743d8b5f39
+SHA1 (patch-aa) = 52423155d4b4fdcc2571c69aafcab80cae3d8ab1
SHA1 (patch-ab) = b39c87a6ec89403d14fab195b4e4dd0d48c4e2be
diff -r ac7c9e7bf007 -r 243ddcfa6e44 misc/elizatalk/patches/patch-aa
--- a/misc/elizatalk/patches/patch-aa Thu Feb 11 19:14:19 2010 +0000
+++ b/misc/elizatalk/patches/patch-aa Thu Feb 11 19:17:06 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/03/01 13:02:10 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2010/02/11 19:18:55 joerg Exp $
--- Makefile.orig Mon Oct 23 03:27:20 2000
+++ Makefile
@@ -16,8 +16,8 @@
+#CXX=gcc # C compiler
+#CC=gcc # linker
+CFLAGS+=-DELIZADIR=\"${PREFIX}/share/elizatalk\"
-+INSTALLDIR=${PREFIX}/bin# installation dir of Elizatalk (be sure there is no space between the dir and the #)
-+INSTALLDIRDICT=${PREFIX}/share/elizatalk# installation dir of the dictionaries (be sure there is no space between the dir and the #)
++INSTALLDIR=${DESTDIR}${PREFIX}/bin# installation dir of Elizatalk (be sure there is no space between the dir and the #)
++INSTALLDIRDICT=${DESTDIR}${PREFIX}/share/elizatalk# installation dir of the dictionaries (be sure there is no space between the dir and the #)
SOURCES=elizatalk.c \
splotch.c
Home |
Main Index |
Thread Index |
Old Index