pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/swapd * set LICENSE=gnu-gpl-v2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31251f34c076
branches:  trunk
changeset: 558880:31251f34c076
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat May 16 08:10:03 2009 +0000

description:
* set LICENSE=gnu-gpl-v2
* honor PKG_SYSCONFDIR
* add DESTDIR support.

diffstat:

 sysutils/swapd/Makefile         |   8 +++++++-
 sysutils/swapd/distinfo         |   4 ++--
 sysutils/swapd/patches/patch-ab |  18 +++++++++---------
 3 files changed, 18 insertions(+), 12 deletions(-)

diffs (71 lines):

diff -r 7114e06c6062 -r 31251f34c076 sysutils/swapd/Makefile
--- a/sysutils/swapd/Makefile   Sat May 16 08:08:22 2009 +0000
+++ b/sysutils/swapd/Makefile   Sat May 16 08:10:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/03/04 21:30:43 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2009/05/16 08:10:03 obache Exp $
 #
 
 DISTNAME=      swapd-1.0.3
@@ -10,8 +10,12 @@
 HOMEPAGE=      http://www.rkeene.org/oss/swapd/
 COMMENT=       Swap daemon for POSIX-compliant operating systems
 
+LICENSE=       gnu-gpl-v2
+
 ONLY_FOR_PLATFORM=     NetBSD-*-* SunOS-*-* Linux-*-*
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=    gmake
 GNU_CONFIGURE= yes
 
@@ -20,5 +24,7 @@
 EGDIR=         ${PREFIX}/share/examples/swapd
 CONF_FILES=    ${EGDIR}/swapd.conf ${PKG_SYSCONFDIR}/swapd.conf
 
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+
 .include "../../devel/libstatgrab/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7114e06c6062 -r 31251f34c076 sysutils/swapd/distinfo
--- a/sysutils/swapd/distinfo   Sat May 16 08:08:22 2009 +0000
+++ b/sysutils/swapd/distinfo   Sat May 16 08:10:03 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 13:40:58 agc Exp $
+$NetBSD: distinfo,v 1.6 2009/05/16 08:10:03 obache Exp $
 
 SHA1 (swapd-1.0.3.tar.gz) = d2f567767ded2382c24505565e8aea1b8d88a746
 RMD160 (swapd-1.0.3.tar.gz) = a7a30f3c8e8ce5407df04ce5a5a1a3cfaf15a266
 Size (swapd-1.0.3.tar.gz) = 90981 bytes
-SHA1 (patch-ab) = 739bd4dca1287676b5a32304f96bc214da160b72
+SHA1 (patch-ab) = 93e9315281390a9029df62df6fd885605c55da43
diff -r 7114e06c6062 -r 31251f34c076 sysutils/swapd/patches/patch-ab
--- a/sysutils/swapd/patches/patch-ab   Sat May 16 08:08:22 2009 +0000
+++ b/sysutils/swapd/patches/patch-ab   Sat May 16 08:10:03 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/10/30 05:06:15 xtraeme Exp $
+$NetBSD: patch-ab,v 1.2 2009/05/16 08:10:03 obache Exp $
 
 --- Makefile.in.orig   2004-10-30 05:53:53.000000000 +0200
 +++ Makefile.in        2004-10-30 05:56:22.000000000 +0200
@@ -23,11 +23,11 @@
 -      $(INSTALL) -m 644 swapd.conf $(sysconfdir)/swapd.conf
 -      $(INSTALL) -m 644 swapd.8 $(mandir)/man8/swapd.8
 -      $(INSTALL) -m 644 swapd.conf.5 $(mandir)/man5/swapd.conf.5
-+      $(BSD_INSTALL_DATA_DIR) $(sbindir)
-+      $(BSD_INSTALL_DATA_DIR) $(datadir)
-+      $(BSD_INSTALL_MAN_DIR) $(mandir)/man8
-+      $(BSD_INSTALL_MAN_DIR) $(mandir)/man5
-+      $(BSD_INSTALL_PROGRAM) swapd$(EXEEXT) $(sbindir)/swapd$(EXEEXT)
-+      $(BSD_INSTALL_DATA) swapd.conf $(datadir)/swapd.conf
-+      $(BSD_INSTALL_MAN) swapd.8 $(mandir)/man8/swapd.8
-+      $(BSD_INSTALL_MAN) swapd.conf.5 $(mandir)/man5/swapd.conf.5
++      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(sbindir)
++      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(datadir)
++      $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man8
++      $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man5
++      $(BSD_INSTALL_PROGRAM) swapd$(EXEEXT) $(DESTDIR)$(sbindir)/swapd$(EXEEXT)
++      $(BSD_INSTALL_DATA) swapd.conf $(DESTDIR)$(datadir)/swapd.conf
++      $(BSD_INSTALL_MAN) swapd.8 $(DESTDIR)$(mandir)/man8/swapd.8
++      $(BSD_INSTALL_MAN) swapd.conf.5 $(DESTDIR)$(mandir)/man5/swapd.conf.5



Home | Main Index | Thread Index | Old Index