1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-05 13:45:39 +00:00
parent 58fb45f3dd
commit c57133fc36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342699
20 changed files with 38 additions and 72 deletions

View File

@ -63,10 +63,8 @@ PULSEAUDIOLIB=
post-patch: post-patch:
cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} ${REINPLACE_FILES} cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} ${REINPLACE_FILES}
.if ${PORT_OPTIONS:MDOCS}
post-install: post-install:
${MKDIR} ${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -19,7 +19,6 @@ DOCS= HISTORY README doc/*
PKGNAMESUFFIX= 4 PKGNAMESUFFIX= 4
NO_STAGE= yes
post-patch: post-patch:
${REINPLACE_CMD} -e 's|echo aout|echo elf|' \ ${REINPLACE_CMD} -e 's|echo aout|echo elf|' \
-e 's|freebsd1|freebsd1.|' \ -e 's|freebsd1|freebsd1.|' \
@ -30,17 +29,13 @@ post-configure:
${FILESDIR}/onig-config > ${WRKSRC}/onig-config ${FILESDIR}/onig-config > ${WRKSRC}/onig-config
post-install: post-install:
${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${STAGEDIR}${PREFIX}/bin/
.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${DOCSDIR}
.for f in ${DOCS} .for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor .endfor
.endif ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/*.c ${WRKSRC}/sample/Makefile* \ ${INSTALL_DATA} ${WRKSRC}/sample/*.c ${WRKSRC}/sample/Makefile* \
${EXAMPLESDIR}/ ${STAGEDIR}${EXAMPLESDIR}/
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -17,8 +17,4 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5 USES= perl5
USE_PERL5= modbuild USE_PERL5= modbuild
MAN3= Class::Accessor::Lvalue.3 \
Class::Accessor::Lvalue::Fast.3
NO_STAGE= yes
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,5 +1,7 @@
%%SITE_PERL%%/Class/Accessor/Lvalue.pm %%SITE_PERL%%/Class/Accessor/Lvalue.pm
%%SITE_PERL%%/Class/Accessor/Lvalue/Fast.pm %%SITE_PERL%%/Class/Accessor/Lvalue/Fast.pm
%%PERL5_MAN3%%/Class::Accessor::Lvalue.3.gz
%%PERL5_MAN3%%/Class::Accessor::Lvalue::Fast.3.gz
@dirrmtry %%SITE_PERL%%/Class/Accessor/Lvalue @dirrmtry %%SITE_PERL%%/Class/Accessor/Lvalue
@dirrmtry %%SITE_PERL%%/Class/Accessor @dirrmtry %%SITE_PERL%%/Class/Accessor
@dirrmtry %%SITE_PERL%%/Class @dirrmtry %%SITE_PERL%%/Class

View File

@ -18,12 +18,9 @@ BUILD_DEPENDS= p5-Term-Size>=0:${PORTSDIR}/devel/p5-Term-Size \
p5-Sort-Naturally>=0:${PORTSDIR}/textproc/p5-Sort-Naturally p5-Sort-Naturally>=0:${PORTSDIR}/textproc/p5-Sort-Naturally
RUN_DEPENDS:= ${BUILD_DEPENDS} RUN_DEPENDS:= ${BUILD_DEPENDS}
MAN3= Data::TreeDumper.3
USES= perl5 USES= perl5
USE_PERL5= configure USE_PERL5= configure
NO_STAGE= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 501400 .if ${PERL_LEVEL} >= 501400

View File

@ -1,3 +1,4 @@
%%PERL5_MAN3%%/Data::TreeDumper.3.gz
%%SITE_PERL%%/Data/TreeDumper.pm %%SITE_PERL%%/Data/TreeDumper.pm
%%SITE_PERL%%/Data/colors.pl %%SITE_PERL%%/Data/colors.pl
%%SITE_PERL%%/Data/filters.pl %%SITE_PERL%%/Data/filters.pl

View File

@ -29,11 +29,6 @@ TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
USES= perl5 USES= perl5
USE_PERL5= configure USE_PERL5= configure
MAN3= Log::Dispatchouli.3 \
Log::Dispatchouli::Global.3 \
Log::Dispatchouli::Proxy.3
NO_STAGE= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400 .if ${PERL_LEVEL} < 501400

View File

@ -2,6 +2,9 @@
%%SITE_PERL%%/Log/Dispatchouli/Global.pm %%SITE_PERL%%/Log/Dispatchouli/Global.pm
%%SITE_PERL%%/Log/Dispatchouli/Proxy.pm %%SITE_PERL%%/Log/Dispatchouli/Proxy.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Dispatchouli/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Dispatchouli/.packlist
%%PERL5_MAN3%%/Log::Dispatchouli.3.gz
%%PERL5_MAN3%%/Log::Dispatchouli::Global.3.gz
%%PERL5_MAN3%%/Log::Dispatchouli::Proxy.3.gz
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Dispatchouli @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Dispatchouli
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log
@dirrmtry %%SITE_PERL%%/Log/Dispatchouli @dirrmtry %%SITE_PERL%%/Log/Dispatchouli

View File

@ -17,9 +17,6 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5 USES= perl5
USE_PERL5= configure USE_PERL5= configure
MAN3= MooseX::Types::Perl.3
NO_STAGE= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400 .if ${PERL_LEVEL} < 501400

View File

@ -1,5 +1,6 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/Perl/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/Perl/.packlist
%%SITE_PERL%%/MooseX/Types/Perl.pm %%SITE_PERL%%/MooseX/Types/Perl.pm
%%PERL5_MAN3%%/MooseX::Types::Perl.3.gz
@dirrmtry %%SITE_PERL%%/MooseX/Types @dirrmtry %%SITE_PERL%%/MooseX/Types
@dirrmtry %%SITE_PERL%%/MooseX @dirrmtry %%SITE_PERL%%/MooseX
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/Perl @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/Perl

View File

@ -17,8 +17,6 @@ BUILD_DEPENDS:= ${RUN_DEPENDS}
USES= perl5 USES= perl5
USE_PERL5= configure USE_PERL5= configure
MAN3= Test::YAML::Valid.3
OPTIONS_DEFINE= YAMLSYCK OPTIONS_DEFINE= YAMLSYCK
YAMLSYCK_DESC= Use YAML::Syck for testing YAMLSYCK_DESC= Use YAML::Syck for testing

View File

@ -1,5 +1,6 @@
%%SITE_PERL%%/Test/YAML/Valid.pm %%SITE_PERL%%/Test/YAML/Valid.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/YAML/Valid/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/YAML/Valid/.packlist
%%PERL5_MAN3%%/Test::YAML::Valid.3.gz
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/YAML/Valid @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/YAML/Valid
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/YAML @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/YAML
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test

View File

@ -83,6 +83,7 @@ man/man1/scrub-files.1.gz
man/man1/sockaddr.1.gz man/man1/sockaddr.1.gz
man/man1/ucommon-config.1.gz man/man1/ucommon-config.1.gz
man/man1/zerofill.1.gz man/man1/zerofill.1.gz
man/man1/keywait.1.gz
@dirrm include/ucommon @dirrm include/ucommon
@dirrm include/commoncpp @dirrm include/commoncpp
@dirrm bin/ucommon @dirrm bin/ucommon

View File

@ -20,9 +20,6 @@ DEFAULT_PHP_VER=53
WRKSRC= ${WRKDIR}/php WRKSRC= ${WRKDIR}/php
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-extract: post-extract:
@${UNZIP_CMD} -q -d ${WRKDIR} ${WRKDIR}/php.zip @${UNZIP_CMD} -q -d ${WRKDIR} ${WRKDIR}/php.zip
@ -30,13 +27,10 @@ post-patch:
@${REINPLACE_CMD} -e "s|\"/etc|\"${ETCDIR}|g;" ${WRKSRC}/konto_check.c ${WRKSRC}/konto_check.lxx @${REINPLACE_CMD} -e "s|\"/etc|\"${ETCDIR}|g;" ${WRKSRC}/konto_check.c ${WRKSRC}/konto_check.lxx
post-install: post-install:
@${MKDIR} ${ETCDIR} @${MKDIR} ${STAGEDIR}${ETCDIR}
@${INSTALL_DATA} ${WRKDIR}/blz.lut ${ETCDIR} @${INSTALL_DATA} ${WRKDIR}/blz.lut ${STAGEDIR}${ETCDIR}
@${INSTALL_DATA} ${WRKDIR}/blz.lut2 ${ETCDIR} @${INSTALL_DATA} ${WRKDIR}/blz.lut2 ${STAGEDIR}${ETCDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKDIR}/00liesmich.pdf ${STAGEDIR}${DOCSDIR}
.if !defined(NOPORTDOCS) .include <bsd.port.mk>
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKDIR}/00liesmich.pdf ${DOCSDIR}
.endif
.include <bsd.port.post.mk>

View File

@ -21,7 +21,6 @@ OPTIONS_DEFINE= PHP PYTHON RUBY
OPTIONS_SUB= yes OPTIONS_SUB= yes
NO_STAGE= yes
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MRUBY} .if ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MRUBY}
@ -45,6 +44,6 @@ CONFIGURE_ENV+= RUBY="${RUBY}"
.endif .endif
post-install: post-install:
@${LN} -s ${PREFIX}/lib/libgeos-${PORTVERSION}.so ${PREFIX}/lib/libgeos.so.0 @${LN} -s ${PREFIX}/lib/libgeos-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libgeos.so.0
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -18,7 +18,7 @@ OPTIONS_DEFINE= OPENSSL DEBUG DOCS EXAMPLES
OPTIONS_DEFAULT= OPENSSL OPTIONS_DEFAULT= OPENSSL
USE_BZIP2= yes USE_BZIP2= yes
USE_GMAKE= yes USES= gmake
USE_AUTOTOOLS= libtool USE_AUTOTOOLS= libtool
CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \ CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
@ -29,7 +29,6 @@ USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENSSL} .if ${PORT_OPTIONS:MOPENSSL}
@ -45,15 +44,11 @@ CONFIGURE_ARGS+= --enable-debug
.endif .endif
post-install: post-install:
.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${DOCSDIR}
.for f in AUTHORS ChangeLog NEWS Notes README TODO .for f in AUTHORS ChangeLog NEWS Notes README TODO
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor .endfor
.endif @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.if ${PORT_OPTIONS:MEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -14,7 +14,6 @@ COMMENT= Functions for calculations with arbitrary length integers and bitsets
USE_PHP= yes USE_PHP= yes
USE_PHPEXT= yes USE_PHPEXT= yes
NO_STAGE= yes
DOCS= CREDITS INSTALL LICENSE README docs/index.html libbig_int/CREDITS \ DOCS= CREDITS INSTALL LICENSE README docs/index.html libbig_int/CREDITS \
libbig_int/LICENSE libbig_int/LICENSE
@ -22,16 +21,14 @@ EXAMPLES= bitset.php example.php rand.php RSA.php std_header.php
CONFIGURE_ARGS= --enable-big-int=shared CONFIGURE_ARGS= --enable-big-int=shared
.if !defined(NOPORTDOCS)
post-install: post-install:
${MKDIR} ${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
. for doc in ${DOCS} . for doc in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
. endfor . endfor
. for test in ${EXAMPLES} . for test in ${STAGEDIR}${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/tests/${test} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tests/${test} ${STAGEDIR}${EXAMPLESDIR}
. endfor . endfor
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -14,14 +14,11 @@ COMMENT= Radius client library for PHP
USE_PHP= yes USE_PHP= yes
USE_PHPEXT= yes USE_PHPEXT= yes
NO_STAGE= yes
CONFIGURE_ARGS= --enable-radius CONFIGURE_ARGS= --enable-radius
.if !defined(NOPORTDOCS)
post-install: post-install:
${MKDIR} ${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -15,13 +15,13 @@ MASTER_SITES= SF \
MAINTAINER= doceng@FreeBSD.org MAINTAINER= doceng@FreeBSD.org
COMMENT= A free and portable TrueType font rendering engine COMMENT= A free and portable TrueType font rendering engine
USES= desthack
USE_AUTOTOOLS= libtool USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared
PORTSCOUT= limit:^1\. PORTSCOUT= limit:^1\.
NO_STAGE= yes
post-patch: post-patch:
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure ${WRKSRC}/configure

View File

@ -14,8 +14,7 @@ GNU_CONFIGURE= yes
USES= perl5 USES= perl5
USE_PERL5= build USE_PERL5= build
MAN1= pwgen.1 PLIST_FILES= bin/pwgen \
PLIST_FILES= bin/pwgen man/man1/pwgen.1.gz
NO_STAGE= yes
.include <bsd.port.mk> .include <bsd.port.mk>