2007-09-15 16:04:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.41 2007/09/15 20:04:19 merdely Exp $
|
2001-04-16 23:40:57 -04:00
|
|
|
|
2002-01-09 14:53:11 -05:00
|
|
|
DISTNAME= aterm-0.4.2
|
2006-11-20 15:49:34 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
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
|
2004-12-17 10:18:31 -05:00
|
|
|
WANTLIB= ICE SM X11 c util
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= color vt102 terminal emulator with transparency support
|
2002-03-17 17:24:18 -05:00
|
|
|
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
|
2004-09-16 13:07:11 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" LIBS="-lutil"
|
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?=
|
|
|
|
|
2004-09-17 20:24:44 -04:00
|
|
|
PATCH_LIST+= patch-src_command_c
|
|
|
|
|
2001-04-22 18:27:11 -04:00
|
|
|
.if ${FLAVOR:L:Mbig5}
|
2006-11-20 15:49:34 -05:00
|
|
|
RUN_DEPENDS= ::chinese/taipeifonts
|
2004-09-17 20:24:44 -04:00
|
|
|
PATCH_LIST+= patch-src_Makefile_in
|
2001-04-22 18:27:11 -04:00
|
|
|
|
|
|
|
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
|
|
|
.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
|
2006-08-03 20:10:42 -04:00
|
|
|
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
|
|
|
|
png.>=2::graphics/png
|
2002-03-17 16:48:34 -05:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-xpm --enable-transparency \
|
|
|
|
--enable-background-image --enable-fading \
|
|
|
|
--with-jpeg --with-png
|
2004-12-17 10:18:31 -05:00
|
|
|
WANTLIB+= Xpm
|
2002-03-17 16:48:34 -05:00
|
|
|
.endif
|
|
|
|
|
2002-10-29 14:48:57 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2004-09-17 10:34:02 -04:00
|
|
|
post-install:
|
|
|
|
chgrp utmp ${PREFIX}/bin/aterm
|
|
|
|
chmod 2755 ${PREFIX}/bin/aterm
|
|
|
|
|
1999-03-21 00:45:21 -05:00
|
|
|
.include <bsd.port.mk>
|