mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Change maintainer email to @FreeBSD.org
- Add DOCS and EXAMPLES options - Add stage support Approved by: wg (mentor)
This commit is contained in:
parent
9bfdfc2786
commit
a6ec59e2b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328945
@ -10,7 +10,7 @@ MASTER_SITES= APACHE
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}/java/${PORTVERSION}/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= danilogondolfo@gmail.com
|
||||
MAINTAINER= danilo@FreeBSD.org
|
||||
COMMENT= Full-text search engine for Java
|
||||
|
||||
LICENSE= AL2
|
||||
@ -23,13 +23,12 @@ USE_JAVA= yes
|
||||
NO_BUILD= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
|
||||
OPTIONS_DEFINE= CONTRIB
|
||||
OPTIONS_DEFINE= CONTRIB DOCS EXAMPLES
|
||||
CONTRIB_DESC= Install contributed jars
|
||||
OPTIONS_DEFAULT= CONTRIB
|
||||
|
||||
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}-core-${PORTVERSION}.jar
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
CONTRIBS= benchmark \
|
||||
@ -69,28 +68,26 @@ PORTEXAMPLES= *
|
||||
DEMODIR= contrib/demo
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-core-${PORTVERSION}.jar ${JAVAJARDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-core-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}
|
||||
.if ${PORT_OPTIONS:MCONTRIB}
|
||||
. for f in ${CONTRIBS}
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/${f}/${PORTNAME}-${f}-${PORTVERSION}.jar ${JAVAJARDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/${f}/${PORTNAME}-${f}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}
|
||||
. endfor
|
||||
. for d in ${EXTRA_CONTRIBS_DIRS}
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/${EXTRA_CONTRIBS_BASE}/${d}/${PORTNAME}-${d}-${PORTVERSION}.jar ${JAVAJARDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/${EXTRA_CONTRIBS_BASE}/${d}/${PORTNAME}-${d}-${PORTVERSION}.jar \
|
||||
${STAGEDIR}${JAVAJARDIR}
|
||||
. endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/${EXTRA_CONTRIBS_BASE}/common/${PORTNAME}-${EXTRA_CONTRIBS_BASE}-${PORTVERSION}.jar ${JAVAJARDIR}
|
||||
${INSTALL_DATA} \
|
||||
${WRKSRC}/contrib/${EXTRA_CONTRIBS_BASE}/common/${PORTNAME}-${EXTRA_CONTRIBS_BASE}-${PORTVERSION}.jar \
|
||||
${STAGEDIR}${JAVAJARDIR}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in CHANGES.txt LICENSE.txt NOTICE.txt README.txt
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/${DEMODIR} && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
||||
.endif
|
||||
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/${DEMODIR} && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user