mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
ftp/yafc: allow staging
- Allow staging
This commit is contained in:
parent
9be290a1e4
commit
fc21c9a968
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328269
1 changed files with 6 additions and 7 deletions
|
@ -25,12 +25,11 @@ CONFIGURE_ARGS= --with-socks=no --with-socks5=no --with-krb4=no \
|
|||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
MAN1= yafc.1
|
||||
INFO= yafc
|
||||
PORTEXAMPLES= inputrc yafcrc
|
||||
PLIST_FILES= bin/yafc
|
||||
PLIST_FILES= bin/yafc \
|
||||
info/yafc.info \
|
||||
man/man1/yafc.1.gz
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
|
@ -50,7 +49,7 @@ CONFIGURE_ARGS+= --without-readline
|
|||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MSSH}
|
||||
LIB_DEPENDS+= ssh:${PORTSDIR}/security/libssh
|
||||
LIB_DEPENDS+= libssh.so:${PORTSDIR}/security/libssh
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-ssh
|
||||
.endif
|
||||
|
@ -65,8 +64,8 @@ CONFIGURE_ARGS+= --with-bash-completion=no
|
|||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue