mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
8b64d1fa96
. Respect NOPORTDOCS. . Split "docs" into examples and docs as appropriate and install them in the relevant directories. . Use PORTDOCS. . Use appropriate macros in the packing list (%%JAVAJARDIR%% and %%EXAMPLESDIR%%) and adjust it appropriately for the previous two changes. . Bump PORTREVISION.
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# New ports collection makefile for: Infobus 1.2
|
|
# Date created: 1999/08/08
|
|
# Whom: Jose Marques
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= infobus
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= java devel
|
|
DISTNAME= ib12
|
|
|
|
MAINTAINER= java@freebsd.org
|
|
COMMENT= Enables dynamic exchange of data between JavaBeans(TM)
|
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/collections.jar:${PORTSDIR}/java/collections
|
|
|
|
USE_ZIP= YES
|
|
USE_JAVA= YES
|
|
JAVA_VERSION= 1.1
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
NO_CDROM= "See the license"
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
IGNORE= You must manually fetch the distribution from http://java.sun.com/products/archive/javabeans/infobus/downloads.html and place it in ${DISTDIR} then run make again
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/infobus.jar ${JAVAJARDIR}/
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.java ${EXAMPLESDIR}
|
|
.for i in examples.mak makefile moneyman.mf ReadMe.html ReadRowset.html coffee6.gif
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in LICENSE.HTML ReadMe.html coffee6.gif
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
cd ${WRKSRC}/doc && \
|
|
${FIND} . | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|