mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
39 lines
856 B
Makefile
39 lines
856 B
Makefile
# Created by: clement
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pwauth
|
|
PORTVERSION= 2.3.11
|
|
CATEGORIES= security www
|
|
MASTER_SITES= GOOGLE_CODE \
|
|
http://www.unixpapa.com/software/
|
|
|
|
MAINTAINER= eg@fbsd.lt
|
|
COMMENT= Unix Web Authenticator
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
PLIST_FILES= bin/pwauth bin/checkfaillog
|
|
|
|
ALL_TARGET= pwauth checkfaillog
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIB="-lcrypt -lpam"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 900007
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-utmpx
|
|
.endif
|
|
|
|
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
|
|
@${CHMOD} u=rxs ${STAGEDIR}${PREFIX}/bin/pwauth
|
|
|
|
.include <bsd.port.post.mk>
|