1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- SIZE info in distinfo

- Use of PLIST_FILES so pkg-plist is no longer needed

PR:		ports/64742
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2004-03-26 23:45:46 +00:00
parent c65d806dc3
commit feb704163e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105396
3 changed files with 10 additions and 16 deletions

View File

@ -19,28 +19,27 @@ USE_JAVA= 1.3+
NO_BUILD= YES
PORT_JARFILES= jaxen-core.jar jaxen-dom.jar jaxen-dom4j.jar jaxen-exml.jar jaxen-full.jar jaxen-jdom.jar
DEST_JARFILES= ${PORT_JARFILES:S,^,${JAVAJARDIR},}
JAVA_WRKDOCSDIR= ${WRKSRC}/doc
PLIST_SUB+= JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}\///}
PLIST_FILES+= ${PORT_JARFILES:S,^,${JAVAJARDIR:S,^${PREFIX}/,,}/,}
.if !defined(NOPORTDOCS)
PORTDOCS= LICENSE default.css download.html faq.html index.html javadoc status.html style
.endif
do-install:
@${ECHO_CMD} -n ">> Installing JAR files..."
@${ECHO} -n ">> Installing JAR files in ${JAVAJARDIR}..."
@${MKDIR} ${JAVAJARDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORT_JARFILES} ${JAVAJARDIR}
@${ECHO_CMD} " [DONE]"
.for JARFILE in ${PORT_JARFILES}
@cd ${WRKSRC} && ${INSTALL_DATA} ${JARFILE} ${JAVAJARDIR}
@${ECHO} -n " ${JARFILE}"
.endfor
@${ECHO} " [DONE]"
.if !defined(NOPORTDOCS)
@${ECHO_CMD} -n ">> Installing documentation..."
@${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..."
@cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} ";"
@cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type f -exec ${INSTALL_MAN} ${JAVA_WRKDOCSDIR}/{} ${DOCSDIR}/{} ";"
@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}/LICENSE
@${ECHO_CMD} " [DONE]"
@${ECHO} " [DONE]"
.endif
post-install:
@${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${DEST_JARFILES}"
.include <bsd.port.mk>

View File

@ -1 +1,2 @@
MD5 (jaxen-1.0-FCS.tar.gz) = c0baf972b669579aff40ca7fdb9a90d0
SIZE (jaxen-1.0-FCS.tar.gz) = 3195819

View File

@ -1,6 +0,0 @@
%%JAVAJARDIR%%/jaxen-core.jar
%%JAVAJARDIR%%/jaxen-dom.jar
%%JAVAJARDIR%%/jaxen-dom4j.jar
%%JAVAJARDIR%%/jaxen-exml.jar
%%JAVAJARDIR%%/jaxen-full.jar
%%JAVAJARDIR%%/jaxen-jdom.jar