[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / cucipop

File: [cvs.NetBSD.org] / pkgsrc / mail / cucipop / Makefile (download)

Revision 1.26, Sat Mar 4 21:29:58 2006 UTC (13 years, 7 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.25: +2 -2 lines

Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.

# $NetBSD: Makefile,v 1.26 2006/03/04 21:29:58 jlam Exp $
#

DISTNAME=	cucipop-1.31
PKGREVISION=	2
CATEGORIES=	mail
MASTER_SITES=	ftp://ftp.informatik.rwth-aachen.de/pub/packages/cucipop/

PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES=	cucipop-1.31-v6-20010223.diff.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	The Cubic Circle POP3 mail server


LICENSE=	cucipop-license

MAKE_ENV+=	ROOT_USER=${ROOT_USER:Q}
MAKE_ENV+=	ROOT_GROUP=${ROOT_GROUP:Q}

REQD_DIRS+=	${PREFIX}/share/cucipop/bulletins
SPECIAL_PERMS+=	${PREFIX}/sbin/cucipop ${ROOT_USER} ${ROOT_GROUP} 2755

PKG_OPTIONS_VAR=	PKG_OPTIONS.cucipop
PKG_SUPPORTED_OPTIONS=	db inet6

.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mdb)
BDB_ACCEPTED=	db2
CFLAGS+=	-DUSE_DB
MAKE_ENV+=	LIBS=${BDB_LIBS:Q}
.  include "../../mk/bdb.buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Minet6)
MAKE_ENV+=	CFLAGS_INET6=-DINET6
.endif

LDFLAGS.SunOS+=	-lnsl -lsocket

INSTALLATION_DIRS=	man/man8 sbin
pre-configure:
	@(cd ${WRKSRC};							\
	for f in config.h cucipop.8 makevpopdb.8; do			\
		${SED} -e 's|@prefix@|${PREFIX}|g' $$f > $$f.fixed &&	\
		${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"