- Add NO_ARCH

- Don't install empty directories

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-09-11 18:32:50 +00:00
parent d06f69b475
commit d5e73eada8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396695

View file

@ -22,10 +22,11 @@ PORTEXAMPLES= *
USES= cpe tar:tgz
CPE_PRODUCT= solr
CPE_VENDOR= apache
NO_ARCH= yes
do-install:
cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "-not -empty"
.include <bsd.port.mk>