2000-11-04 15:46:23 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2000/11/04 20:46:23 espie Exp $
|
2000-05-28 02:24:27 -04:00
|
|
|
|
2000-09-12 11:37:33 -04:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
JDK_VERSION= 1.1.8
|
2000-05-28 02:24:27 -04:00
|
|
|
DISTNAME= swing1_1_1
|
|
|
|
PKGNAME= jfc-1.1.1
|
|
|
|
CATEGORIES= devel
|
2000-09-12 11:37:33 -04:00
|
|
|
NEED_VERSION= 1.328
|
2000-05-28 02:24:27 -04:00
|
|
|
MASTER_SITES= http://java.sun.com/products/jfc/
|
2000-09-12 11:37:33 -04:00
|
|
|
EXTRACT_SUFX= .zip
|
2000-05-28 02:24:27 -04:00
|
|
|
|
2000-09-05 05:39:07 -04:00
|
|
|
HOMEPAGE= http://java.sun.com/products/jfc/
|
|
|
|
|
2000-09-12 11:37:33 -04:00
|
|
|
RUN_DEPENDS= ${PREFIX}/jdk${JDK_VERSION}/bin/java::devel/jdk
|
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
2000-05-28 02:24:27 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= No
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= No
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
|
2000-09-05 05:39:07 -04:00
|
|
|
WRKDIST= ${WRKDIR}/swing-1.1.1fcs
|
2000-05-28 02:24:27 -04:00
|
|
|
|
2000-05-28 22:44:52 -04:00
|
|
|
do-fetch:
|
|
|
|
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
|
|
|
|
echo "" ; \
|
|
|
|
echo " You must manually fetch the standard zip format distribution" ; \
|
2000-11-04 15:46:23 -05:00
|
|
|
echo " from http://www.javasoft.com/products/jfc/download.html" ; \
|
2000-05-28 22:44:52 -04:00
|
|
|
echo " and place it in ${DISTDIR} then run make again." ; \
|
|
|
|
echo "" ; \
|
|
|
|
exit 1 ; \
|
|
|
|
fi
|
2000-05-28 02:24:27 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/java/classes/swing1_1_1
|
|
|
|
@cp ${WRKSRC}/*.jar ${PREFIX}/share/java/classes/swing1_1_1
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/java/swing1_1_1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${PREFIX}/share/java/swing1_1_1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${PREFIX}/share/java/swing1_1_1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/java/swing1_1_1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/java/swing1_1_1
|
2000-09-12 11:37:33 -04:00
|
|
|
@cp -R ${WRKSRC}/doc ${PREFIX}/share/java/swing1_1_1
|
2000-05-28 02:24:27 -04:00
|
|
|
@cp -R ${WRKSRC}/examples ${PREFIX}/share/java/swing1_1_1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|