From dd5bac0899cbbc2c76a72f7e4765d01bfe96eac8 Mon Sep 17 00:00:00 2001 From: adamw Date: Fri, 18 Apr 2014 19:23:45 +0000 Subject: STAGE support. --- ftp/omi/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'ftp/omi') 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 -- cgit