1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Install HTML PORTDOCS and fix CONFIGURE_ARGS.

PR:		ports/144157
Submitted by:	Niels Heinen <niels@heinen.ws>
Feature safe:	yes
This commit is contained in:
David Thiel 2010-02-22 21:58:41 +00:00
parent f3d74d0bf1
commit e8676dabab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250206
2 changed files with 37 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= medusa
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.foofus.net/jmk/tools/ \
http://redundancy.redundancy.org/mirror/
@ -21,7 +22,7 @@ LIB_DEPENDS+= ssh2:${PORTSDIR}/security/libssh2 \
pcre:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --program-transform= #--disable-module-ncp
CONFIGURE_ARGS+= --enable-module-ncp=no --enable-module-afp=no
MAN1= medusa.1
@ -37,6 +38,7 @@ LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion \
apr-1:${PORTSDIR}/devel/apr
CFLAGS+= -I${LOCALBASE}/include/subversion-1 -I${LOCALBASE}/include/apr-1
.else
CONFIGURE_ARGS+= --enable-module-svn=no
PLIST_SUB+= SVN="@comment "
.endif
@ -53,4 +55,9 @@ post-install:
${MKDIR} ${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/misc/zsh/_medusa ${PREFIX}/share/zsh/site-functions/_medusa
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
.endif
.include <bsd.port.post.mk>

View File

@ -25,7 +25,36 @@ lib/medusa/modules/smtp.mod
%%SVN%%lib/medusa/modules/svn.mod
lib/medusa/modules/web-form.mod
share/zsh/site-functions/_medusa
%%PORTDOCS%%%%DOCSDIR%%/medusa-afp.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-compare.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-cvs.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-ftp.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-http.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-imap.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-mssql.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-mysql.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-ncp.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-nntp.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-pcanywhere.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-pop3.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-postgres.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-rexec.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-rlogin.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-rsh.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-smbnt.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-smtp-vrfy.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-smtp.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-snmp.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-ssh.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-svn.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-telnet.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-vmauthd.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-vnc.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-web-form.html
%%PORTDOCS%%%%DOCSDIR%%/medusa-wrapper.html
%%PORTDOCS%%%%DOCSDIR%%/medusa.html
@unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true
@dirrmtry share/zsh
@dirrm lib/medusa/modules
@dirrm lib/medusa
%%PORTDOCS%%@dirrm %%DOCSDIR%%