From 4f0c60c9f7a5aafe533078c9332ee52ee512f78c Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Tue, 18 Feb 2014 10:00:10 +0000 Subject: [PATCH] Support staging --- textproc/mkcatalog/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/textproc/mkcatalog/Makefile b/textproc/mkcatalog/Makefile index a0df9945a619..59cb99722e65 100644 --- a/textproc/mkcatalog/Makefile +++ b/textproc/mkcatalog/Makefile @@ -18,16 +18,16 @@ SCRIPTS_ENV= CONFIGURE_TARGETS=${CONFIGURE_TARGETS} SRC= ${.CURDIR}/src CONFIGURE_TARGETS= mkcatalog -NO_STAGE= yes do-fetch: @${DO_NADA} pre-configure: - @for i in ${CONFIGURE_TARGETS} ; do \ - ${CP} ${SRC}/$${i}.in ${WRKDIR} ; \ - done +.for f in ${CONFIGURE_TARGETS} + ${CP} ${SRC}/${f}.in ${WRKDIR} +.endfor do-install: - @${INSTALL_SCRIPT} ${WRKDIR}/mkcatalog ${PREFIX}/sbin/mkcatalog + @${INSTALL_SCRIPT} ${WRKDIR}/mkcatalog \ + ${STAGEDIR}${PREFIX}/sbin/mkcatalog .include