1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/courierpassd/Makefile
Baptiste Daroussin 000c0db39b Resetting maintainership on ports that have not been staged and without any
pending PR (related to stage)

With hat:	portmgr
2014-07-04 12:46:11 +00:00

62 lines
1.6 KiB
Makefile

# Created by: Ade Lovett <ade@FreeBSD.org>
# $FreeBSD$
PORTNAME= courierpassd
PORTVERSION= 1.1.2
CATEGORIES= security mail
MASTER_SITES= http://www.arda.homeunix.net/software-downloads/ \
LOCAL/ade
MAINTAINER= ports@FreeBSD.org
COMMENT= User authentication and password changing daemon utility
BUILD_DEPENDS= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
RUN_DEPENDS= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
GNU_CONFIGURE= yes
USES= gmake
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MINUID?= 100
DELAY?= 3
CONFIGURE_ARGS+=--with-minuid=${MINUID} --with-badpassdelay=${DELAY}
MAN8= courierpassd.8
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
pre-everything::
@${ECHO}
@${ECHO} "###########################################################"
@${ECHO}
@${ECHO} "The following build options are available:"
@${ECHO}
@${ECHO} " MINUID=uid"
@${ECHO} " Accounts with uids below this value cannot have"
@${ECHO} " their passwords changed. Default value is 100."
@${ECHO}
@${ECHO} " DELAY=sec"
@${ECHO} " Set the delay after a password change failure."
@${ECHO} " Default is 3 seconds."
@${ECHO}
@${ECHO} "###########################################################"
@${ECHO}
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>