1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

STAGE support.

Approved by:	wg (mentor)
This commit is contained in:
Alexey Degtyarev 2014-06-30 13:21:53 +00:00
parent 8fbbe6af82
commit f33eeb96d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359835

View File

@ -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 <bsd.port.mk>