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

- Stagify.

This commit is contained in:
Jun Kuriyama 2014-06-14 08:38:25 +00:00
parent c0b8b9ab8e
commit 10ff1c87b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357756
12 changed files with 38 additions and 46 deletions

View File

@ -17,7 +17,6 @@ WRKSRC= ${WRKDIR}/pg_lesslog_${PORTVERSION}_pg84
PGSQL_PORT= databases/postgresql${PGSQL_VER}
PGSQL_SRCDIR= `cd ${PORTSDIR}/${PGSQL_PORT}-server; ${MAKE} -VWRKSRC`
NO_STAGE= yes
pre-build:
${REINPLACE_CMD} "s|top_builddir = ../..|top_builddir = ${PGSQL_SRCDIR}|" ${WRKSRC}/Makefile.*

View File

@ -25,9 +25,6 @@ PORTDOCS+= TODO
PORTDOCShtml= pgpool-en.html pgpool-ja.html pgpool.css
PORTDOCShtml+= tutorial-en.html tutorial-ja.html
MAN8= pgpool.8
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
${WRKSRC}/configure
@ -38,20 +35,23 @@ post-build:
@cd ${WRKSRC}/sql/pgpool-recovery && ${GMAKE}
post-install:
@cd ${WRKSRC}/sql/pgpool-recovery && ${GMAKE} ${INSTALL_TARGET}
${INSTALL_DATA} ${WRKSRC}/sample/dist_def_pgbench.sql ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample/replicate_def_pgbench.sql ${DATADIR}
${MKDIR} ${DATADIR} ${EXAMPLESDIR}
echo "--- ==="
-cat `pg_config --pgxs`
echo "--- ==="
@cd ${WRKSRC}/sql/pgpool-recovery && ${GMAKE} DESTDIR=${STAGEDIR} ${INSTALL_TARGET}
${INSTALL_DATA} ${WRKSRC}/sample/dist_def_pgbench.sql ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample/replicate_def_pgbench.sql ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in pgpool_recovery pgpool_recovery_pitr pgpool_remote_start
${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
.for f in ${PORTDOCShtml}
${INSTALL_MAN} ${WRKSRC}/doc/$f ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}
.endfor
PORTDOCS+= ${PORTDOCShtml}
.endif

View File

@ -21,6 +21,8 @@ lib/libpcp.a
lib/libpcp.la
lib/libpcp.so
lib/libpcp.so.0
lib/postgresql/pgpool-recovery.so
man/man8/pgpool.8.gz
%%DATADIR%%/dist_def_pgbench.sql
%%DATADIR%%/pgpool.pam
%%DATADIR%%/replicate_def_pgbench.sql

View File

@ -27,12 +27,9 @@ PORTDOCS+= TODO
PORTDOCShtml= pgpool-en.html pgpool-ja.html pgpool.css
PORTDOCShtml+= tutorial-en.html tutorial-ja.html
MAN8= pgpool.8
OPTIONS_DEFINE+= DOCS SSL
SSL_DESC= Build with OpenSSL support
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSSL}
@ -61,21 +58,21 @@ post-build:
post-install:
.for f in ${FUNCTIONS}
@cd ${WRKSRC}/sql/${f} && ${GMAKE} ${INSTALL_TARGET}
@cd ${WRKSRC}/sql/${f} && ${GMAKE} DESTDIR=${STAGEDIR} ${INSTALL_TARGET}
.endfor
${INSTALL_DATA} ${WRKSRC}/sample/dist_def_pgbench.sql ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample/replicate_def_pgbench.sql ${DATADIR}
${MKDIR} ${DATADIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/dist_def_pgbench.sql ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample/replicate_def_pgbench.sql ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in pgpool_recovery pgpool_recovery_pitr pgpool_remote_start
${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
.for f in ${PORTDOCShtml}
${INSTALL_MAN} ${WRKSRC}/doc/$f ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}
.endfor
PORTDOCS+= ${PORTDOCShtml}
.endif

View File

@ -25,6 +25,7 @@ lib/libpcp.a
lib/libpcp.la
lib/libpcp.so
lib/libpcp.so.0
man/man8/pgpool.8.gz
%%DATADIR%%/dist_def_pgbench.sql
%%DATADIR%%/insert_lock.sql
%%DATADIR%%/pgpool.pam

View File

@ -17,10 +17,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= YES
SHEBANG_FILES= work/csv2jsonzip.pl
NO_STAGE= yes
do-install:
${MKDIR} ${WWWDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/ajaxzip2.js ${WWWDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/work/csv2jsonzip.pl ${DATADIR}/
${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/ajaxzip2.js ${STAGEDIR}${WWWDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/work/csv2jsonzip.pl ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View File

@ -15,7 +15,7 @@ USES= dos2unix perl5 zip
WRKSRC= ${WRKDIR}
DOS2UNIX_FILES= readme.txt
DIR= ${PREFIX}/share/htmllint
DIR= ${STAGEDIR}${PREFIX}/share/htmllint
PM= htmllint.pm RFC2396.pm htmllint.env
RULE= *.rul
HTML= *.cgi *.html *.gif *.css
@ -24,7 +24,6 @@ SEDSUB= ${SED} -e 's@%PREFIX%@${PREFIX}@'
# Please set this!
HTMLLINT_ADMIN?= kuriyama@FreeBSD.org
NO_STAGE= yes
do-build:
@${SEDSUB} ${FILESDIR}/htmllint > ${WRKSRC}/htmllint
@${SEDSUB} ${WRKSRC}/htmllintenv > ${WRKSRC}/htmllint.env
@ -38,7 +37,7 @@ do-build:
do-install:
${MKDIR} ${DIR}/rule ${DIR}/html
cd ${WRKSRC} && ${INSTALL_SCRIPT} htmllint ${PREFIX}/bin
cd ${WRKSRC} && ${INSTALL_SCRIPT} htmllint ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${HTML} ${DIR}/html
cd ${WRKSRC} && ${INSTALL_DATA} ${PM} ${DIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${RULE} ${DIR}/rule

View File

@ -18,7 +18,6 @@ COMMENT= Japanese translation of FreeBSD manual pages
RUN_DEPENDS= jman:${PORTSDIR}/japanese/man
NO_MTREE= yes
NO_STAGE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
PLIST= ${WRKDIR}/pkg-plist
MAKE_ENV= MANDIR=${MANDIR}
@ -64,7 +63,7 @@ pre-su-install:
SECNUM=$${SEC%%/*}; \
cd ${WRKSRC}/$${SEC} && \
SUBDIR=`${MAKE} -VMANSUBDIR` && \
${MKDIR} ${PREFIX}/man/ja/$${SECNUM}$${SUBDIR}; \
${MKDIR} ${STAGEDIR}${PREFIX}/man/ja/$${SECNUM}$${SUBDIR}; \
done
post-install:

View File

@ -15,12 +15,11 @@ USES= perl5
USE_PERL5= run
CONFLICTS= mg-200*
NO_STAGE= yes
do-build:
${SED} -e "s|/usr/local|${PREFIX}|g" \
${DISTDIR}/${DISTFILES} > ${WRKDIR}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

View File

@ -37,7 +37,6 @@ DOCS= CHANGES \
DOCS_UTIL= README \
TODO
NO_STAGE= yes
post-extract:
${SED} -e 's:"\.\./\.\./ming\.h":<ming.h>:g' \
${WRKSRC}/ming.h > ${WRKSRC}/mingpp.h
@ -69,19 +68,19 @@ post-build:
${CC} ${CFLAGS} -L${PREFIX}/lib -o swftophp swftophp.o blocktypes.o decompile.o read.o -lm
pre-install:
${MKDIR} ${PREFIX}/include/ming/blocks
${MKDIR} ${STAGEDIR}${PREFIX}/include/ming/blocks
post-install:
.for f in ${UTILS}
${INSTALL_PROGRAM} ${WRKSRC}/../util/${f} ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/../util/${f} ${STAGEDIR}${PREFIX}/bin/
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ming/utils
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ming/utils
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/../${f} ${PREFIX}/share/doc/ming/
${INSTALL_DATA} ${WRKSRC}/../${f} ${STAGEDIR}${PREFIX}/share/doc/ming/
.endfor
.for f in ${DOCS_UTIL}
${INSTALL_DATA} ${WRKSRC}/../util/${f} ${PREFIX}/share/doc/ming/utils/
${INSTALL_DATA} ${WRKSRC}/../util/${f} ${STAGEDIR}${PREFIX}/share/doc/ming/utils/
.endfor
.endif

View File

@ -16,7 +16,6 @@ SUB_LIST= PREFIX=${LOCALBASE}
PLIST_FILES= bin/perl-amanda
WRKSRC= ${WRKDIR}
NO_STAGE= yes
do-fetch:
@${DO_NADA}
@ -26,7 +25,7 @@ do-build:
cd ${WRKSRC} && ${CC} -o perl-amanda perl-amanda.c
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/perl-amanda ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKDIR}/perl-amanda ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.pre.mk>

View File

@ -12,7 +12,6 @@ MAINTAINER= kuriyama@FreeBSD.org
COMMENT= GNU screen like utility on Emacsen
USE_EMACS= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if (${EMACS_PORT_NAME} == "emacs20")
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
@ -26,11 +25,11 @@ EMACS_NO_BUILD_DEPENDS= YES
NO_BUILD= YES
do-install:
${INSTALL_DATA} ${WRKSRC}/elscreen.el ${PREFIX}/${EMACS_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/elscreen.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ChangeLog README
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>