mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
security/checkpassword: Refactor
- Use OPTIONSNG for post-install target - Remove GENTOO MASTER_SITES as it no longer provides flat layout - Pet portclippy Approved by: portmgr (blanket)
This commit is contained in:
parent
98d54e35f9
commit
bd9daa8440
1 changed files with 4 additions and 5 deletions
|
@ -2,21 +2,20 @@ PORTNAME= checkpassword
|
|||
PORTVERSION= 0.90
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://cr.yp.to/checkpwd/ \
|
||||
GENTOO
|
||||
MASTER_SITES= http://cr.yp.to/checkpwd/
|
||||
|
||||
MAINTAINER= garga@FreeBSD.org
|
||||
COMMENT= Simple password-checking interface
|
||||
WWW= https://cr.yp.to/checkpwd.html
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
ALL_TARGET= it
|
||||
INSTALL_TARGET= setup
|
||||
|
||||
PLIST_FILES= bin/checkpassword
|
||||
PORTDOCS= CHANGES FILES README SYSDEPS TARGETS TODO VERSION
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,gcc,${CC},g" ${WRKSRC}/find-systype.sh
|
||||
|
||||
|
@ -25,7 +24,7 @@ do-configure:
|
|||
@${ECHO_CMD} '${CC} ${CFLAGS} -s -lcrypt' > ${WRKSRC}/conf-ld
|
||||
@${ECHO_CMD} ${STAGEDIR}${PREFIX} >${WRKSRC}/conf-home
|
||||
|
||||
post-install:
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
|
|
Loading…
Add table
Reference in a new issue