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

- Support STAGE

This commit is contained in:
Philippe Audeoud 2013-12-27 19:47:35 +00:00
parent 6c971867a6
commit 37f97ba925
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337794
10 changed files with 61 additions and 54 deletions

View File

@ -14,18 +14,7 @@ COMMENT= Framework for proxying network connections in many ways
USES= perl5
USE_PERL5= configure
MAN3= Net::Proxy.3 \
Net::Proxy::Connector.3 \
Net::Proxy::Connector::connect.3 \
Net::Proxy::Connector::connect_ssl.3 \
Net::Proxy::Connector::dual.3 \
Net::Proxy::Connector::dummy.3 \
Net::Proxy::Connector::ssl.3 \
Net::Proxy::Connector::tcp.3 \
Net::Proxy::Tutorial.3
MAN1= connect-tunnel.1 \
sslh.1
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,5 +1,7 @@
bin/connect-tunnel
bin/sslh
man/man1/connect-tunnel.1.gz
man/man1/sslh.1.gz
%%SITE_PERL%%/Net/Proxy.pm
%%SITE_PERL%%/Net/Proxy/Connector.pm
%%SITE_PERL%%/Net/Proxy/Connector/connect.pm
@ -10,6 +12,15 @@ bin/sslh
%%SITE_PERL%%/Net/Proxy/Connector/tcp.pm
%%SITE_PERL%%/Net/Proxy/Tutorial.pod
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Proxy/.packlist
%%PERL5_MAN3%%/Net::Proxy.3.gz
%%PERL5_MAN3%%/Net::Proxy::Connector.3.gz
%%PERL5_MAN3%%/Net::Proxy::Connector::connect.3.gz
%%PERL5_MAN3%%/Net::Proxy::Connector::connect_ssl.3.gz
%%PERL5_MAN3%%/Net::Proxy::Connector::dual.3.gz
%%PERL5_MAN3%%/Net::Proxy::Connector::dummy.3.gz
%%PERL5_MAN3%%/Net::Proxy::Connector::ssl.3.gz
%%PERL5_MAN3%%/Net::Proxy::Connector::tcp.3.gz
%%PERL5_MAN3%%/Net::Proxy::Tutorial.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Proxy
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
@dirrm %%SITE_PERL%%/Net/Proxy/Connector

View File

@ -18,10 +18,4 @@ LIB_DEPENDS= ssh2.1:${PORTSDIR}/security/libssh2
USES= perl5
USE_PERL5= configure
MAN3= Net::SSH2.3 Net::SSH2::Channel.3 \
Net::SSH2::Dir.3 Net::SSH2::File.3 \
Net::SSH2::Listener.3 Net::SSH2::PublicKey.3 \
Net::SSH2::SFTP.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,3 +1,10 @@
%%PERL5_MAN3%%/Net::SSH2.3.gz
%%PERL5_MAN3%%/Net::SSH2::Channel.3.gz
%%PERL5_MAN3%%/Net::SSH2::Dir.3.gz
%%PERL5_MAN3%%/Net::SSH2::File.3.gz
%%PERL5_MAN3%%/Net::SSH2::Listener.3.gz
%%PERL5_MAN3%%/Net::SSH2::PublicKey.3.gz
%%PERL5_MAN3%%/Net::SSH2::SFTP.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/Net/SSH2.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Net/SSH2/Channel.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Net/SSH2/Dir.pm

View File

@ -21,21 +21,23 @@ DOCS= AUTHORS BUGS COPYING ChangeLog README TODO \
doc/default_config.rb doc/pauls_feeds.opml.gz \
doc/theme_documentation.txt
NO_STAGE= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/raggle ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/raggle.1 ${MAN1PREFIX}/man/man1
@${MKDIR} ${DATADIR}/themes ${DATADIR}/extras/web_ui/images \
${DATADIR}/extras/web_ui/inc ${DATADIR}/extras/win32
${INSTALL_DATA} ${WRKSRC}/extras/*.rb ${DATADIR}/extras
${INSTALL_DATA} ${WRKSRC}/extras/web_ui/*.html ${DATADIR}/extras/web_ui
${INSTALL_DATA} ${WRKSRC}/extras/web_ui/images/* ${DATADIR}/extras/web_ui/images
${INSTALL_DATA} ${WRKSRC}/extras/web_ui/inc/* ${DATADIR}/extras/web_ui/inc
${INSTALL_DATA} ${WRKSRC}/extras/win32/* ${DATADIR}/extras/win32
${INSTALL_DATA} ${WRKSRC}/themes/* ${DATADIR}/themes
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
${INSTALL_SCRIPT} ${WRKSRC}/raggle ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}/themes \
${STAGEDIR}${DATADIR}/extras/web_ui/images \
${STAGEDIR}${DATADIR}/extras/web_ui/inc ${STAGEDIR}${DATADIR}/extras/win32
${INSTALL_DATA} ${WRKSRC}/extras/*.rb ${STAGEDIR}${DATADIR}/extras
${INSTALL_DATA} ${WRKSRC}/extras/web_ui/*.html \
${STAGEDIR}${DATADIR}/extras/web_ui
${INSTALL_DATA} ${WRKSRC}/extras/web_ui/images/* \
${STAGEDIR}${DATADIR}/extras/web_ui/images
${INSTALL_DATA} ${WRKSRC}/extras/web_ui/inc/* \
${STAGEDIR}${DATADIR}/extras/web_ui/inc
${INSTALL_DATA} ${WRKSRC}/extras/win32/* ${STAGEDIR}${DATADIR}/extras/win32
${INSTALL_DATA} ${WRKSRC}/themes/* ${STAGEDIR}${DATADIR}/themes
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -14,14 +14,15 @@ PORTDOCS= README CHANGES
HAS_CONFIGURE= yes
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.options.mk>
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif

View File

@ -16,17 +16,18 @@ CPPFLAGS+= -I${LOCALBASE}/include
PORTDOCS= README
PLIST_FILES= bin/uplog
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e \
's|#include <malloc.h>||g' \
${WRKSRC}/${PORTNAME}.c
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif

View File

@ -18,9 +18,6 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} \
USES= perl5
USE_PERL5= configure
MAN3= Nmap::Parser.3
NO_STAGE= yes
post-configure:
@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile

View File

@ -17,9 +17,6 @@ CONFIGURE_ARGS= --disable-build-html --datadir=${DATADIR} --disable-upx
CPPFLAGS+= -DHAVE_DECL_GETOPT=0
MAN1= dar.1 dar_cp.1 dar_manager.1 dar_slave.1 dar_xform.1
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@ -27,7 +24,7 @@ USES+= gettext
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--with-libintl-prefix=${PREFIX}
CONFIGURE_ARGS+=--with-libintl-prefix=${STAGEDIR}${PREFIX}
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
@ -35,12 +32,15 @@ PLIST_SUB+= NLS="@comment "
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.dtd *.txt *.jpg [CR]* ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/samples
cd ${WRKSRC}/doc/samples && ${INSTALL_DATA} [JR]* [a-z]* ${DOCSDIR}/samples
@${MKDIR} ${DOCSDIR}/mini-howto
cd ${WRKSRC}/doc/mini-howto && ${INSTALL_DATA} *.html README ${DOCSDIR}/mini-howto
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.dtd *.txt *.jpg [CR]* \
${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/samples
cd ${WRKSRC}/doc/samples && ${INSTALL_DATA} [JR]* [a-z]* \
${STAGEDIR}${DOCSDIR}/samples
@${MKDIR} ${STAGEDIR}${DOCSDIR}/mini-howto
cd ${WRKSRC}/doc/mini-howto && ${INSTALL_DATA} \
*.html README ${STAGEDIR}${DOCSDIR}/mini-howto
.endif
.include <bsd.port.mk>

View File

@ -44,6 +44,11 @@ bin/dar_slave
bin/dar_manager
bin/dar_cp
bin/dar_static
man/man1/dar.1.gz
man/man1/dar_cp.1.gz
man/man1/dar_manager.1.gz
man/man1/dar_slave.1.gz
man/man1/dar_xform.1.gz
%%PORTDOCS%%%%DOCSDIR%%/samples/dar_par.dcf
%%PORTDOCS%%%%DOCSDIR%%/samples/cdbackup.sh
%%PORTDOCS%%%%DOCSDIR%%/samples/darrc_sample