From 331e5bc8b0df19f2cccc4c9f44b8ec99f507306c Mon Sep 17 00:00:00 2001 From: markd Date: Wed, 30 Jun 2010 12:41:10 +0000 Subject: DESTDIR support. --- editors/gnuserv/Makefile | 7 +++++-- editors/gnuserv/distinfo | 3 ++- editors/gnuserv/patches/patch-ab | 16 ++++++++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 editors/gnuserv/patches/patch-ab (limited to 'editors') diff --git a/editors/gnuserv/Makefile b/editors/gnuserv/Makefile index dc0fb1d81a6..0d84ea56909 100644 --- a/editors/gnuserv/Makefile +++ b/editors/gnuserv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2009/12/14 23:42:10 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2010/06/30 12:41:10 markd Exp $ DISTNAME= gnuserv-3.12.7 PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} @@ -12,14 +12,17 @@ COMMENT= Improved version of emacsserver for GNU Emacs CONFLICTS+= xemacs-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES .include "../../x11/libXau/buildlink3.mk" EL_FILES= devices.el gnuserv.el gnuserv-compat.el post-install: + ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX} cd ${WRKSRC} && for FILE in ${EL_FILES}; do \ - ${INSTALL_DATA} $${FILE} $${FILE}c ${EMACS_LISPPREFIX}; \ + ${INSTALL_DATA} $${FILE} $${FILE}c ${DESTDIR}${EMACS_LISPPREFIX}; \ done .if ${X11_TYPE} == "modular" diff --git a/editors/gnuserv/distinfo b/editors/gnuserv/distinfo index b50ca0e37f0..34b640bda22 100644 --- a/editors/gnuserv/distinfo +++ b/editors/gnuserv/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 17:15:10 agc Exp $ +$NetBSD: distinfo,v 1.4 2010/06/30 12:41:10 markd Exp $ SHA1 (gnuserv-3.12.7.tar.gz) = 5f5fd98b068fd1b221d32a0760c9914455e197b5 RMD160 (gnuserv-3.12.7.tar.gz) = 2fd5a28fb86cc05c26da50cab8d9ee036f2e2d00 Size (gnuserv-3.12.7.tar.gz) = 93709 bytes SHA1 (patch-aa) = f10c267b84290265df2a757454b0548bf8383889 +SHA1 (patch-ab) = f96a239e3efa786e8af84a3e7b9421c00a573735 diff --git a/editors/gnuserv/patches/patch-ab b/editors/gnuserv/patches/patch-ab new file mode 100644 index 00000000000..13a7177e96f --- /dev/null +++ b/editors/gnuserv/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1 2010/06/30 12:41:10 markd Exp $ + +DESTDIR support + +--- Makefile.in.orig 2004-10-20 01:20:54.000000000 +0000 ++++ Makefile.in +@@ -42,8 +42,8 @@ CFLAGS = @CFLAGS@ + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ + +-prefix = @prefix@ ++prefix = $(DESTDIR)@prefix@ + exec_prefix = @exec_prefix@ + + # The directory for installing executable programs that users can run. + bindir = $(exec_prefix)/bin -- cgit v1.2.3