pkgsrc/lang/kaffe-x11/Makefile
jmmv ca77a3794a Rework the way the kaffe packages work:
- Make kaffe the main package, on which others can depend, and which has no
  support for things like sound nor graphics.  Bump its revision to 2.
  While here, do some cleanup too.
- Add a kaffe-x11 package, that installs on top of kaffe, and which provides
  the library needed for AWT support through X11.
- Add a kaffe-esound package, that installs on top of kaffe, and which provides
  the library needed for sound support through esound (i.e., no more need for
  the USE_ESOUND variable here).
- Remove the kaffe-nox11 package.
2004-07-04 15:24:46 +00:00

24 lines
667 B
Makefile

# $NetBSD: Makefile,v 1.1 2004/07/04 15:24:46 jmmv Exp $
#
.include "../../lang/kaffe/Makefile.common"
PKGNAME= ${DISTNAME:S/kaffe/kaffe-x11/}
COMMENT+= (AWT support through X11)
USE_X11= YES
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--without-awt/--with-awt=X/}
BUILD_DIRS= ${WRKSRC}/config
BUILD_DIRS+= ${WRKSRC}/libraries/clib/awt
INSTALL_DIRS= ${WRKSRC}/libraries/clib/awt
PRINT_PLIST_AWK+= /^@dirrm/ { print "@comment in kaffe: " $$0; next; }
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/kaffe/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"