add lite flavor

ok mark@
This commit is contained in:
jcs 2002-03-17 21:48:34 +00:00
parent 28f44405f3
commit 51c227a627
3 changed files with 19 additions and 12 deletions

View File

@ -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

View File

@ -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 <mark@openbsd.org>
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 <bsd.port.mk>

View File

@ -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}