diff options
author | wiz <wiz@pkgsrc.org> | 2009-02-15 18:49:54 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-02-15 18:49:54 +0000 |
commit | 5adb5f3c9d56f36d6136538ae12bf113ce82038a (patch) | |
tree | 0f099e44f0c12018b40edeed45d65a375532145a /chat | |
parent | 43aa753dd953161c68a6566a86e6b5da5a2bc4d8 (diff) | |
download | pkgsrc-5adb5f3c9d56f36d6136538ae12bf113ce82038a.tar.gz |
Convert to user-destdir.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/dccserver/Makefile | 12 | ||||
-rw-r--r-- | chat/dccserver/distinfo | 3 | ||||
-rw-r--r-- | chat/dccserver/patches/patch-aa | 15 |
3 files changed, 26 insertions, 4 deletions
diff --git a/chat/dccserver/Makefile b/chat/dccserver/Makefile index 26eee4f2233..1a00e3da8d5 100644 --- a/chat/dccserver/Makefile +++ b/chat/dccserver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2005/04/11 21:45:03 tv Exp $ +# $NetBSD: Makefile,v 1.4 2009/02/15 18:49:54 wiz Exp $ # DISTNAME= dccserver-0.4 @@ -12,8 +12,14 @@ COMMENT= Standalone replacement for the mIRC /dccserver command GNU_CONFIGURE= yes +PKG_DESTDIR_SUPPORT= user-destdir +# just a contrib script, don't want to incur a perl dependency for that +REPLACE_PERL= contrib/dccsend.pl + +SPECIAL_PERMS+= ${PREFIX}/bin/dccserver ${SETUID_ROOT_PERMS} + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/dccserver - ${INSTALL_DATA} ${WRKSRC}/contrib/dccsend.pl ${PREFIX}/share/dccserver + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/dccserver + ${INSTALL_DATA} ${WRKSRC}/contrib/dccsend.pl ${DESTDIR}${PREFIX}/share/dccserver .include "../../mk/bsd.pkg.mk" diff --git a/chat/dccserver/distinfo b/chat/dccserver/distinfo index f60dd6d1507..27e6b1c062e 100644 --- a/chat/dccserver/distinfo +++ b/chat/dccserver/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 15:59:10 agc Exp $ +$NetBSD: distinfo,v 1.3 2009/02/15 18:49:54 wiz Exp $ SHA1 (dccserver-0.4.tar.bz2) = 76741e0d2cd7e5fe7915d5fab918a589454c8358 RMD160 (dccserver-0.4.tar.bz2) = 749a805f021f5aae0c561101d65265e713375a1d Size (dccserver-0.4.tar.bz2) = 99529 bytes +SHA1 (patch-aa) = 91767a050d7e28d1236f9d4e9f112cf976861f9f diff --git a/chat/dccserver/patches/patch-aa b/chat/dccserver/patches/patch-aa new file mode 100644 index 00000000000..ce835ac0501 --- /dev/null +++ b/chat/dccserver/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2009/02/15 18:49:54 wiz Exp $ + +--- Makefile.in.orig 2003-11-02 00:06:24.000000000 +0000 ++++ Makefile.in +@@ -696,8 +696,8 @@ uninstall-man: uninstall-man1 + + + install-exec-hook: +- @(chown root $(bindir)/dccserver && \ +- chmod u+s $(bindir)/dccserver && \ ++ @(chown root $(DESTDIR)$(bindir)/dccserver && \ ++ chmod u+s $(DESTDIR)$(bindir)/dccserver && \ + echo NOTE: dccserver has been installed setuid root.) || \ + echo dccserver NOT installed setuid root. + # Tell versions [3.59,3.63) of GNU make to not export all variables. |