2004-01-11 21:55:13 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2004/01/12 02:55:13 jcs Exp $
|
2001-04-16 23:40:57 -04:00
|
|
|
|
2002-01-09 14:53:11 -05:00
|
|
|
DISTNAME= aterm-0.4.2
|
1999-03-21 00:45:21 -05:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2003-10-08 13:13:14 -04:00
|
|
|
# GPL
|
2000-03-05 13:30:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2002-03-17 17:24:18 -05:00
|
|
|
COMMENT= "color vt102 terminal emulator with transparency support"
|
|
|
|
HOMEPAGE= http://aterm.sourceforge.net/
|
2002-05-15 13:58:49 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aterm/}
|
2002-03-17 17:24:18 -05:00
|
|
|
|
|
|
|
USE_X11= Yes
|
2000-07-03 00:43:54 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2002-06-09 02:09:24 -04:00
|
|
|
CONFIGURE_ARGS= --enable-xgetdefault --enable-ttygid --enable-utmp
|
2001-04-22 18:27:11 -04:00
|
|
|
|
2002-03-17 16:48:34 -05:00
|
|
|
FLAVORS= big5 lite
|
2001-04-22 18:27:11 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mbig5}
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/chinese/taipei16.pcf.gz::chinese/taipeifonts
|
|
|
|
PATCH_LIST= patch-src_Makefile_in \
|
|
|
|
patch-src_command_c
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-big5
|
2001-04-16 23:40:57 -04:00
|
|
|
|
|
|
|
post-patch:
|
2001-04-22 18:27:11 -04:00
|
|
|
@cd ${FILESDIR}; cp -f {cli_xcin.c,protocol.h,state.h} \
|
2001-04-16 23:40:57 -04:00
|
|
|
${WRKSRC}/src
|
2001-04-22 18:27:11 -04:00
|
|
|
.else
|
|
|
|
PATCH_LIST=
|
|
|
|
.endif
|
1999-03-21 00:45:21 -05:00
|
|
|
|
2002-03-17 16:48:34 -05:00
|
|
|
.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
|
|
|
|
|
2002-10-29 14:48:57 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1999-03-21 00:45:21 -05:00
|
|
|
.include <bsd.port.mk>
|