1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/security/pwauth/Makefile
Mathieu Arnold dbbfc7889a GOOGLE_CODE has gone away.
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN

Some ports have a local mirror configured but for security reasons, it
is not considered upstream.

Sponsored by:	Absolight
2016-09-14 15:59:34 +00:00

32 lines
691 B
Makefile

# Created by: clement
# $FreeBSD$
PORTNAME= pwauth
PORTVERSION= 2.3.11
CATEGORIES= security www
MASTER_SITES= http://www.unixpapa.com/software/
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>