freebsd-ports/security/pwauth/Makefile
Rene Ladan 69044e296e security/pwauth: fix fetch and undeprecate
PR:		243650 [1]
PR:		244289 [2]
Submitted by:	Benjamin Lutz [1]
Submitted by:	ian [2]
Approved by:	maintainer
MFH:		2020Q2
2020-05-12 19:26:45 +00:00

32 lines
783 B
Makefile

# Created by: clement
# $FreeBSD$
PORTNAME= pwauth
PORTVERSION= 2.3.11
CATEGORIES= security www
MASTER_SITES= http://www.unixpapa.com/software/ \
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pwauth/
MAINTAINER= eg@fbsd.lt
COMMENT= Unix Web Authenticator
LICENSE= BSD3CLAUSE
PLIST_FILES= "@(,,4555) bin/pwauth" \
bin/checkfaillog
ALL_TARGET= pwauth checkfaillog
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIB="-lcrypt -lpam"
WWWUID= `${ID} -u ${WWWOWN}`
MINUID?= 1000
post-patch:
@${REINPLACE_CMD} "s/%%UIDS%%/${WWWUID}/ ; \
s/%%MINUID%%/${MINUID}/" ${WRKSRC}/config.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pwauth ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/checkfaillog ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>