summaryrefslogtreecommitdiff
path: root/mail/cucipop
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-01-26 10:51:44 +0000
committergrant <grant@pkgsrc.org>2004-01-26 10:51:44 +0000
commit8bdf4d556c29ffa16744cc826d25a12a82b5df13 (patch)
tree418271b3ec17c5bc874393ea66363208510c0da8 /mail/cucipop
parent0edd41b2a85f0ed77ff0561be0ba538d6a871387 (diff)
downloadpkgsrc-8bdf4d556c29ffa16744cc826d25a12a82b5df13.tar.gz
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 (limited to 'mail/cucipop')
-rw-r--r--mail/cucipop/Makefile14
-rw-r--r--mail/cucipop/PLIST4
2 files changed, 14 insertions, 4 deletions
diff --git a/mail/cucipop/Makefile b/mail/cucipop/Makefile
index fdaf2472b71..0cd4fc17933 100644
--- a/mail/cucipop/Makefile
+++ b/mail/cucipop/Makefile
@@ -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 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= The Cubic Circle POP3 mail server
+USE_PKGINSTALL= YES
+
LICENSE= shareware
BUILD_DEFS+= USE_INET6
@@ -19,6 +22,9 @@ BUILD_DEFS+= USE_INET6
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 @@ pre-configure:
${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 --git a/mail/cucipop/PLIST b/mail/cucipop/PLIST
index cad6262d4d8..0aa056d52a7 100644
--- a/mail/cucipop/PLIST
+++ b/mail/cucipop/PLIST
@@ -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