2002-04-03 23:16:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2002/04/03 21:16:30 jwise Exp $
|
2000-01-18 19:05:29 +01:00
|
|
|
|
|
|
|
DISTNAME= spfc-0.2.0
|
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://java.apache.org/spfc/dist/
|
|
|
|
|
|
|
|
MAINTAINER= jwise@netbsd.org
|
|
|
|
HOMEPAGE= http://java.apache.org/
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= Apache.org's Server Page Foundation Classes
|
2000-01-18 19:05:29 +01:00
|
|
|
|
|
|
|
# yes, this needs _exactly_ version 2.0
|
|
|
|
DEPENDS+= jsdk-2.0:../../www/jsdk20
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
USE_JAVA=
|
|
|
|
USE_GMAKE=
|
|
|
|
NO_CONFIGURE=
|
2000-05-09 23:02:35 +02:00
|
|
|
MAKE_ENV+= CLASSPATH=${CLASSPATH}:${PREFIX}/lib/jsdk.jar
|
2000-01-18 19:05:29 +01:00
|
|
|
WRKSRC= ${WRKDIR}/spfc-0.2.0/src/
|
|
|
|
|
|
|
|
do-install:
|
2000-05-09 23:02:35 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/spfc.jar ${PREFIX}/lib/java
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/share/doc/java/spfc
|
2002-04-03 23:16:29 +02:00
|
|
|
cd ${WRKSRC}/../docs && ${PAX} -rwpp . ${PREFIX}/share/doc/java/spfc
|
2000-01-18 19:05:29 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
2000-05-09 23:02:35 +02:00
|
|
|
|
|
|
|
# This must be after the include of bsd.pkg.mk
|
|
|
|
CLASSPATH:=${CLASSPATH}:${PREFIX}/lib/java/jsdk.jar:.
|