aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-04-18 19:23:45 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-04-18 19:23:45 +0000
commitf806355804cba4359bf87dc4042178d5f0026177 (patch)
tree004631b56e8f3ad86608512a3f7070e1c278d847 /ftp
parent6817641b20a32d519c9f7bf583e685f026631494 (diff)
downloadports-f806355804cba4359bf87dc4042178d5f0026177.tar.gz
ports-f806355804cba4359bf87dc4042178d5f0026177.zip
Notes
Diffstat (limited to 'ftp')
-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>