Makefile 988 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.21 2016/09/01 10:53:27 jasper Exp $
  2. ONLY_FOR_ARCHS= amd64 i386 sparc64
  3. COMMENT= free, standards-compliant jvm with a small footprint
  4. DISTNAME= jamvm-1.5.4
  5. CATEGORIES= lang java
  6. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
  7. REVISION= 0
  8. SHARED_LIBS= jvm 0.0
  9. HOMEPAGE= http://jamvm.sourceforge.net/
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB= c m pthread z
  13. .if ${MACHINE_ARCH} == "sparc64"
  14. WANTLIB+= ffi
  15. LIB_DEPENDS= devel/libffi
  16. .endif
  17. BUILD_DEPENDS= lang/jikes>=1.22 \
  18. lang/classpath>=0.98
  19. RUN_DEPENDS= lang/classpath>=0.98
  20. USE_GMAKE= Yes
  21. SEPARATE_BUILD= Yes
  22. CONFIGURE_STYLE= gnu
  23. CONFIGURE_ARGS= --includedir=${LOCALBASE}/include/jamvm \
  24. --libdir=${LOCALBASE}/lib/jamvm \
  25. --with-classpath-install-dir=${LOCALBASE} \
  26. --disable-tls
  27. .if ${MACHINE_ARCH} == "sparc64"
  28. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  29. LDFLAGS="-L${LOCALBASE}/lib"
  30. .endif
  31. post-install:
  32. @chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share
  33. .include <bsd.port.mk>