pkgsrc/www/spfc/Makefile
grant afdebcf9a4 make ${PAX} usage consistent:
- group 'zrw' and 'p' args, -s last
- use the && operator consistently
- strip unneeded parens
- some whitespace cleanup
2003-04-10 01:28:03 +00:00

30 lines
857 B
Makefile

# $NetBSD: Makefile,v 1.10 2003/04/10 01:28:30 grant Exp $
DISTNAME= spfc-0.2.0
WRKSRC= ${WRKDIR}/spfc-0.2.0/src/
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_GMAKE=
NO_CONFIGURE=
MAKE_ENV+= CLASSPATH=${CLASSPATH}:${PREFIX}/lib/jsdk.jar
do-install:
${INSTALL_DATA} ${WRKSRC}/../bin/spfc.jar ${PREFIX}/lib/java
${INSTALL_PROGRAM_DIR} ${PREFIX}/share/doc/java/spfc
cd ${WRKSRC}/../docs && ${PAX} -rw -pp . ${PREFIX}/share/doc/java/spfc
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
# This must be after the include of bsd.pkg.mk
CLASSPATH:=${CLASSPATH}:${PREFIX}/lib/java/jsdk.jar:.