d32e698de6
XXX need to teach pkglint to be more picky about this
32 lines
932 B
Makefile
32 lines
932 B
Makefile
# $NetBSD: Makefile,v 1.5 2001/02/25 04:18:24 hubertf Exp $
|
|
|
|
DISTNAME= spfc-0.2.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://java.apache.org/spfc/dist/
|
|
|
|
MAINTAINER= jwise@netbsd.org
|
|
HOMEPAGE= http://java.apache.org/
|
|
COMMENT= Apache.org's Server Page Foundation Classes
|
|
|
|
# yes, this needs _exactly_ version 2.0
|
|
DEPENDS+= jsdk-2.0:../../www/jsdk20
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_JAVA=
|
|
USE_GMAKE=
|
|
NO_CONFIGURE=
|
|
MAKE_ENV+= CLASSPATH=${CLASSPATH}:${PREFIX}/lib/jsdk.jar
|
|
WRKSRC= ${WRKDIR}/spfc-0.2.0/src/
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/spfc.jar ${PREFIX}/lib/java
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/share/doc/java/spfc
|
|
(cd ${WRKSRC}/../docs ; ${GTAR} pcf - .) | \
|
|
(cd ${PREFIX}/share/doc/java/spfc ; ${GTAR} pxvf -)
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/java/spfc
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
# This must be after the include of bsd.pkg.mk
|
|
CLASSPATH:=${CLASSPATH}:${PREFIX}/lib/java/jsdk.jar:.
|