pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/cucipop use bsd.pkg.install.mk features, SPECIAL_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f2bc39cd7f5
branches:  trunk
changeset: 467062:0f2bc39cd7f5
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Jan 26 10:51:44 2004 +0000

description:
use bsd.pkg.install.mk features, SPECIAL_PERMS for setgid binary,
use MAKE_DIRS for bulletins directory.

use BSD install to install binaries and man pages. fixes install
on Solaris.

bump PKGREVISION.

diffstat:

 mail/cucipop/Makefile |  14 +++++++++++++-
 mail/cucipop/PLIST    |   4 +---
 2 files changed, 14 insertions(+), 4 deletions(-)

diffs (55 lines):

diff -r e5cd9b2cc40b -r 0f2bc39cd7f5 mail/cucipop/Makefile
--- a/mail/cucipop/Makefile     Mon Jan 26 10:17:35 2004 +0000
+++ b/mail/cucipop/Makefile     Mon Jan 26 10:51:44 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2003/07/17 21:45:48 grant Exp $
+# $NetBSD: Makefile,v 1.12 2004/01/26 10:51:44 grant Exp $
 #
 
 DISTNAME=       cucipop-1.31
+PKGREVISION=   1
 CATEGORIES=     mail
 MASTER_SITES=  ftp://ftp.informatik.rwth-aachen.de/pub/packages/cucipop/
 
@@ -12,6 +13,8 @@
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
 COMMENT=       The Cubic Circle POP3 mail server
 
+USE_PKGINSTALL=        YES
+
 LICENSE=       shareware
 
 BUILD_DEFS+=   USE_INET6
@@ -19,6 +22,9 @@
 MAKE_ENV+=     ROOT_USER="${ROOT_USER}"
 MAKE_ENV+=     ROOT_GROUP="${ROOT_GROUP}"
 
+MAKE_DIRS+=    ${PREFIX}/share/cucipop/bulletins
+SPECIAL_PERMS+=        ${PREFIX}/sbin/cucipop ${ROOT_USER} ${ROOT_GROUP} 2755
+
 .include "../../mk/bsd.prefs.mk"
 
 # to be friendly with pre-1.5 systems
@@ -37,4 +43,10 @@
                ${MV} $$f.fixed $$f;                                    \
        done)
 
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/cucipop ${PREFIX}/sbin
+       ${INSTALL_PROGRAM} ${WRKSRC}/makevpopdb ${PREFIX}/sbin
+       ${INSTALL_MAN} ${WRKSRC}/cucipop.8 ${PREFIX}/man/man8
+       ${INSTALL_MAN} ${WRKSRC}/makevpopdb.8 ${PREFIX}/man/man8
+
 .include "../../mk/bsd.pkg.mk"
diff -r e5cd9b2cc40b -r 0f2bc39cd7f5 mail/cucipop/PLIST
--- a/mail/cucipop/PLIST        Mon Jan 26 10:17:35 2004 +0000
+++ b/mail/cucipop/PLIST        Mon Jan 26 10:51:44 2004 +0000
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:59:44 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/01/26 10:51:44 grant Exp $
 sbin/cucipop
 sbin/makevpopdb
 man/man8/cucipop.8.gz
 man/man8/makevpopdb.8.gz
-@dirrm share/cucipop/bulletins
-@dirrm share/cucipop



Home | Main Index | Thread Index | Old Index