From f33eeb96d0dc5548eb0b793313c16beb0fae35ee Mon Sep 17 00:00:00 2001 From: Alexey Degtyarev Date: Mon, 30 Jun 2014 13:21:53 +0000 Subject: [PATCH] STAGE support. Approved by: wg (mentor) --- mail/slapd-cyrus/Makefile | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/mail/slapd-cyrus/Makefile b/mail/slapd-cyrus/Makefile index c188c8029b26..6c63346950d1 100644 --- a/mail/slapd-cyrus/Makefile +++ b/mail/slapd-cyrus/Makefile @@ -22,22 +22,16 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= modbuild -NO_STAGE= yes PLIST_SUB= SITE_PERL_REL=${SITE_PERL_REL} \ DOCS_DIR_REL=${DOCSDIR_REL} -.if !defined(NOPORTDOCS) -PORTDOCS= slapd-cyrus.conf - -post-install: - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} -m 0444 ${WRKSRC}/t/etc/slapd.conf.dist \ - ${DOCSDIR}/slapd-cyrus.conf -.endif +PORTDOCS= slapd-cyrus.conf.sample do-install: - ${MKDIR} ${SITE_PERL} - cd ${WRKSRC}/lib && ${PAX} -r -w . ${SITE_PERL} + ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${SITE_PERL} + ${INSTALL_DATA} -m 0444 ${WRKSRC}/t/etc/slapd.conf.dist \ + ${STAGEDIR}${DOCSDIR}/slapd-cyrus.conf.sample + cd ${WRKSRC}/lib && ${PAX} -r -w . ${STAGEDIR}${SITE_PERL} .include