diff --git a/x11/Makefile b/x11/Makefile index 9bdfa6775b4..30139cd15ee 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.129 2002/03/06 11:42:39 kevlo Exp $ +# $OpenBSD: Makefile,v 1.130 2002/03/17 21:48:34 jcs Exp $ # $FreeBSD: Makefile,v 1.178 1997/11/24 05:32:52 fenner Exp $ # @@ -14,6 +14,7 @@ SUBDIR += asfiles SUBDIR += astime SUBDIR += aterm + SUBDIR += aterm,lite # SUBDIR += auis SUBDIR += bbdate SUBDIR += bbkeys diff --git a/x11/aterm/Makefile b/x11/aterm/Makefile index 40b3005ca34..1131d278d10 100644 --- a/x11/aterm/Makefile +++ b/x11/aterm/Makefile @@ -1,5 +1,4 @@ -# $OpenBSD: Makefile,v 1.25 2002/01/09 19:53:11 mark Exp $ -# $FreeBSD: Makefile,v 1.3 1999/03/08 20:59:19 steve Exp $ +# $OpenBSD: Makefile,v 1.26 2002/03/17 21:48:34 jcs Exp $ COMMENT= "color vt102 terminal emulator with transparency support" @@ -11,9 +10,6 @@ MASTER_SITE_SUBDIR= aterm HOMEPAGE= http://aterm.sourceforge.net/ -LIB_DEPENDS= jpeg.62::graphics/jpeg \ - png.2::graphics/png - MAINTAINER= Mark Grimes PERMIT_PACKAGE_CDROM= Yes @@ -24,13 +20,9 @@ PERMIT_DISTFILES_FTP= Yes USE_X11= Yes CONFIGURE_STYLE= gnu -CONFIGURE_ARGS= --enable-utmp --enable-wtmp \ - --with-xpm --enable-transparency \ - --enable-xgetdefault --enable-ttygid \ - --enable-background-image --enable-fading \ - --with-jpeg --with-png +CONFIGURE_ARGS= --enable-xgetdefault --enable-ttygid -FLAVORS= big5 +FLAVORS= big5 lite FLAVOR?= .if ${FLAVOR:L:Mbig5} @@ -47,4 +39,17 @@ post-patch: PATCH_LIST= .endif +.if ${FLAVOR:L:Mlite} +CONFIGURE_ARGS+= --without-xpm --disable-transparency \ + --disable-background-image --disable-fading \ + --without-jpeg --without-png +.else +LIB_DEPENDS= jpeg.62::graphics/jpeg \ + png.2::graphics/png + +CONFIGURE_ARGS+= --with-xpm --enable-transparency \ + --enable-background-image --enable-fading \ + --with-jpeg --with-png +.endif + .include diff --git a/x11/aterm/pkg/DESCR b/x11/aterm/pkg/DESCR index 118cae6d9fd..7aaae9bfa69 100644 --- a/x11/aterm/pkg/DESCR +++ b/x11/aterm/pkg/DESCR @@ -6,5 +6,6 @@ libraries, and can be used anywhere. Flavors: big5 - Build with support for Chinese text input. + lite - Build without any image library dependencies. WWW: ${HOMEPAGE}