mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging.
This commit is contained in:
parent
12a350e548
commit
3484c27618
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331494
@ -19,7 +19,6 @@ PORTDOCS= COPYING CREDITS TODO cvsspam-doc.html cvsspam-doc.pdf
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@ -31,19 +30,22 @@ post-patch:
|
||||
${WRKSRC}/collect_diffs.rb
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/libexec/${PORTNAME}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
|
||||
.for f in collect_diffs.rb cvsspam.rb record_lastdir.rb
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/libexec/${PORTNAME}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${f} \
|
||||
${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/cvsspam.conf ${PREFIX}/etc/cvsspam.conf.default
|
||||
.if !exists(${PREFIX}/etc/cvsspam.conf)
|
||||
${INSTALL_DATA} ${WRKSRC}/cvsspam.conf ${PREFIX}/etc/cvsspam.conf
|
||||
${INSTALL_DATA} ${WRKSRC}/cvsspam.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/cvsspam.conf.default
|
||||
.if !exists(${STAGEDIR}${PREFIX}/etc/cvsspam.conf)
|
||||
${INSTALL_DATA} ${WRKSRC}/cvsspam.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/cvsspam.conf
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
@ -21,8 +21,7 @@ PLIST_FILES= bin/textmaze
|
||||
|
||||
WRKSRC= ${WRKDIR}/TextMaze
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -13,8 +13,7 @@ MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
PLIST_FILES= bin/schwobifyer
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -20,7 +20,6 @@ DEFINES= -D_REENTRANT
|
||||
|
||||
PLIST_FILES= bin/bmp2html
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${RM} ${WRKSRC}/${PORTNAME}
|
||||
|
||||
@ -31,6 +30,6 @@ do-build:
|
||||
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.o
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -25,8 +25,7 @@ PLIST_FILES= bin/icat
|
||||
|
||||
CONFLICTS= sleuthkit-[0-9]*
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,12 +15,11 @@ ALL_TARGET= build
|
||||
|
||||
PLIST_FILES= bin/cyrus2courier
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} '/^CFLAGS*/d; /^LDFLAGS*/d; /^CC*/d' \
|
||||
${WRKSRC}/src/Makefile.FreeBSD
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,8 +21,7 @@ NO_BUILD= yes
|
||||
SHEBANG_FILES= delatt
|
||||
PLIST_FILES= bin/delatt
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,8 +15,7 @@ MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
PLIST_FILES= bin/spfval
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/spfval ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/spfval ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -40,7 +40,6 @@ ONIGURUMA_DESC= Oniguruma support
|
||||
|
||||
OPTIONS_DEFAULT=SSL GTKSPELL
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MSSL}
|
||||
@ -124,13 +123,13 @@ post-patch:
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in ChangeLog INSTALL README TODO
|
||||
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${i}.ja ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${i}.ja ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${INSTALL_DATA} ${WRKSRC}/sylpheed.png ${PREFIX}/share/pixmaps/
|
||||
@${INSTALL_DATA} ${WRKSRC}/sylpheed.desktop ${PREFIX}/share/applications/
|
||||
@${INSTALL_DATA} ${WRKSRC}/sylpheed.png ${STAGEDIR}${PREFIX}/share/pixmaps/
|
||||
@${INSTALL_DATA} ${WRKSRC}/sylpheed.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,7 +17,6 @@ ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-build:
|
||||
@ -26,12 +25,13 @@ do-build:
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/rom-${PORTNAME}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/fontdump ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
|
||||
${STAGEDIR}${PREFIX}/bin/rom-${PORTNAME}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/fontdump ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,8 +16,7 @@ NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/rebuild_db
|
||||
PLIST_FILES= bin/rebuild_db.py
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/rebuild_db.py ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/rebuild_db.py ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,7 +15,6 @@ PORTDOCS= COPYING ChangeLog README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@ -24,14 +23,14 @@ post-patch:
|
||||
${WRKSRC}/imcomm/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bsflite ${PREFIX}/bin
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/config-example ${EXAMPLESDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bsflite ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/config-example ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
@ -16,8 +16,7 @@ USE_OPENSSL= yes
|
||||
|
||||
PLIST_FILES= bin/createtorrent
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -25,7 +25,6 @@ CONFIG_FILES= bannerfilter.conf banners.data banners.local.data \
|
||||
|
||||
SHEBANG_FILES= redirector.pl
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|^;\ \(DATA\ =\ \).*|\1${PREFIX}/etc/${PORTNAME}/|' \
|
||||
@ -35,18 +34,18 @@ post-patch:
|
||||
${WRKSRC}/update.sh
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/libexec/${PORTNAME}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/redirector.pl ${PREFIX}/libexec/${PORTNAME}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/redirector.pl ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/update.sh \
|
||||
${PREFIX}/bin/update-bannerfilter-rules
|
||||
${MKDIR} ${PREFIX}/etc/${PORTNAME}
|
||||
${STAGEDIR}${PREFIX}/bin/update-bannerfilter-rules
|
||||
${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
.for f in ${CONFIG_FILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/etc/${PORTNAME}/${f}.default
|
||||
.if !exists(${PREFIX}/etc/${PORTNAME}/${f})
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/etc/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${ETCDIR}/${f}.default
|
||||
.if !exists(${STAGEDIR}${ETCDIR}/${f})
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${ETCDIR}
|
||||
.endif
|
||||
.endfor
|
||||
${CP} -R ${WRKSRC}/www ${PREFIX}/${WWW_ROOT}/${PORTNAME}
|
||||
${CP} -R ${WRKSRC}/www ${STAGEDIR}${PREFIX}/${WWW_ROOT}/${PORTNAME}
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG} ""
|
||||
|
@ -18,8 +18,8 @@ SHEBANG_FILES= ${DISTNAME}
|
||||
|
||||
PLIST_FILES= bin/linklint
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user