aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2014-03-28 21:34:44 +0800
committergarga <garga@FreeBSD.org>2014-03-28 21:34:44 +0800
commitd5ea6eadd86e42fb734815d6298347cfad00d679 (patch)
tree0ed060fa0e9d15b1f688ff9586b11487a61cccb4 /mail
parent38b9b5490456768fac1086f33785234509f14269 (diff)
downloadfreebsd-ports-graphics-d5ea6eadd86e42fb734815d6298347cfad00d679.tar.gz
freebsd-ports-graphics-d5ea6eadd86e42fb734815d6298347cfad00d679.tar.zst
freebsd-ports-graphics-d5ea6eadd86e42fb734815d6298347cfad00d679.zip
Support stage
Approved by: portmgr (blanket)
Diffstat (limited to 'mail')
-rw-r--r--mail/offlineimap/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/mail/offlineimap/Makefile b/mail/offlineimap/Makefile
index 6a4bfed4bcb..0c6cbb90d8a 100644
--- a/mail/offlineimap/Makefile
+++ b/mail/offlineimap/Makefile
@@ -46,7 +46,6 @@ PORTEXAMPLES= ${EXAMPLE_FILES:N*/*}
DOC_DIRS= ${DOC_FILES:H:O:u:N.}
EXAMPLE_DIRS= ${EXAMPLE_FILES:H:O:u:N.}
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MHTMLDOCS}
@@ -70,26 +69,21 @@ post-build:
.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
@for i in ${DOC_DIRS}; do \
- ${MKDIR} ${DOCSDIR}/$$i; \
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/$$i; \
done
@cd ${WRKSRC} && for i in ${DOC_FILES}; do \
- ${ECHO} "Installing ${DOCSDIR}/$$i"; \
- ${INSTALL_DATA} $$i ${DOCSDIR}/$$i; \
+ ${ECHO} "Installing ${STAGEDIR}${DOCSDIR}/$$i"; \
+ ${INSTALL_DATA} $$i ${STAGEDIR}${DOCSDIR}/$$i; \
done
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@for i in ${EXAMPLE_DIRS}; do \
- ${MKDIR} ${EXAMPLESDIR}/$$i; \
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/$$i; \
done
@cd ${WRKSRC} && for i in ${EXAMPLE_FILES}; do \
- ${ECHO} "Installing ${EXAMPLESDIR}/$$i"; \
- ${INSTALL_DATA} $$i ${EXAMPLESDIR}/$$i; \
+ ${ECHO} "Installing ${STAGEDIR}${EXAMPLESDIR}/$$i"; \
+ ${INSTALL_DATA} $$i ${STAGEDIR}${EXAMPLESDIR}/$$i; \
done
-.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>