svn commit: r343338 - head/ftp/hsftp
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sat Feb 8 14:31:12 UTC 2014
Author: danilo
Date: Sat Feb 8 14:31:11 2014
New Revision: 343338
URL: http://svnweb.freebsd.org/changeset/ports/343338
QAT: https://qat.redports.org/buildarchive/r343338/
Log:
- Use options helpers
- Add stage support
Modified:
head/ftp/hsftp/Makefile
Modified: head/ftp/hsftp/Makefile
==============================================================================
--- head/ftp/hsftp/Makefile Sat Feb 8 14:28:05 2014 (r343337)
+++ head/ftp/hsftp/Makefile Sat Feb 8 14:31:11 2014 (r343338)
@@ -21,27 +21,19 @@ READLINE_DESC= Enable readline support
GNU_CONFIGURE= yes
MAKEFILE= makefile
-MAN1= hsftp.1
-PLIST_FILES= bin/hsftp
+PLIST_FILES= bin/hsftp man/man1/hsftp.1.gz
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPENSSH_RUN_DEPENDS= ssh:${PORTSDIR}/security/openssh-portable
+OPENSSH_CONFIGURE_WITH= openssh
-.if ${PORT_OPTIONS:MOPENSSH}
-RUN_DEPENDS+= ssh:${PORTSDIR}/security/openssh-portable
-CONFIGURE_ARGS+= --with-openssh
-.endif
-
-.if ${PORT_OPTIONS:MREADLINE}
-USES+= readline
-CONFIGURE_ARGS+= --with-readline
-.endif
+READLINE_USES= readline
+READLINE_CONFIGURE_WITH= readline
pre-patch:
${REINPLACE_CMD} -e '2343d' ${WRKSRC}/configure
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list