aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/omi
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-04-19 03:23:45 +0800
committeradamw <adamw@FreeBSD.org>2014-04-19 03:23:45 +0800
commitdd5bac0899cbbc2c76a72f7e4765d01bfe96eac8 (patch)
tree004631b56e8f3ad86608512a3f7070e1c278d847 /ftp/omi
parent2faeb2d17770c8b2b91638809e10720e7a9f0a86 (diff)
downloadfreebsd-ports-gnome-dd5bac0899cbbc2c76a72f7e4765d01bfe96eac8.tar.gz
freebsd-ports-gnome-dd5bac0899cbbc2c76a72f7e4765d01bfe96eac8.tar.zst
freebsd-ports-gnome-dd5bac0899cbbc2c76a72f7e4765d01bfe96eac8.zip
STAGE support.
Diffstat (limited to 'ftp/omi')
-rw-r--r--ftp/omi/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/ftp/omi/Makefile b/ftp/omi/Makefile
index ffeb4ea6aacd..c464a6f1b9ba 100644
--- a/ftp/omi/Makefile
+++ b/ftp/omi/Makefile
@@ -15,19 +15,15 @@ COMMENT= "mirror" subtrees of FTP servers
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= freebsd
-NO_STAGE= yes
pre-patch:
${REINPLACE_CMD} -E -e "s@^(OPTFLAGS).*@\1=${CFLAGS}@" \
${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/omi ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${INSTALL} -d -m 755 -o ${DOCOWN} -g ${DOCGRP} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/BSD-COPYRIGHT ${DOCSDIR}/
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/omi ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for file in README.txt README.html CHANGES BSD_COPYRIGHT
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
+.endfor
.include <bsd.port.mk>