2006-08-04 00:10:42 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2006/08/04 00:10:42 espie Exp $
|
2001-04-17 03:40:57 +00:00
|
|
|
|
2002-01-09 19:53:11 +00:00
|
|
|
DISTNAME= aterm-0.4.2
|
2006-03-22 20:17:40 +00:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
1999-03-21 05:45:21 +00:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2003-10-08 17:13:14 +00:00
|
|
|
# GPL
|
2000-03-05 18:30:21 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-17 15:18:31 +00:00
|
|
|
WANTLIB= ICE SM X11 c util
|
2000-02-12 08:02:07 +00:00
|
|
|
|
2002-03-17 22:24:18 +00:00
|
|
|
COMMENT= "color vt102 terminal emulator with transparency support"
|
|
|
|
HOMEPAGE= http://aterm.sourceforge.net/
|
2002-05-15 17:58:49 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aterm/}
|
2002-03-17 22:24:18 +00:00
|
|
|
|
|
|
|
USE_X11= Yes
|
2000-07-03 04:43:54 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2002-06-09 06:09:24 +00:00
|
|
|
CONFIGURE_ARGS= --enable-xgetdefault --enable-ttygid --enable-utmp
|
2004-09-16 17:07:11 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" LIBS="-lutil"
|
2001-04-22 22:27:11 +00:00
|
|
|
|
2002-03-17 21:48:34 +00:00
|
|
|
FLAVORS= big5 lite
|
2001-04-22 22:27:11 +00:00
|
|
|
FLAVOR?=
|
|
|
|
|
2004-09-18 00:24:44 +00:00
|
|
|
PATCH_LIST+= patch-src_command_c
|
|
|
|
|
2001-04-22 22:27:11 +00:00
|
|
|
.if ${FLAVOR:L:Mbig5}
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/chinese/taipei16.pcf.gz::chinese/taipeifonts
|
2004-09-18 00:24:44 +00:00
|
|
|
PATCH_LIST+= patch-src_Makefile_in
|
2001-04-22 22:27:11 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-big5
|
2001-04-17 03:40:57 +00:00
|
|
|
|
|
|
|
post-patch:
|
2001-04-22 22:27:11 +00:00
|
|
|
@cd ${FILESDIR}; cp -f {cli_xcin.c,protocol.h,state.h} \
|
2001-04-17 03:40:57 +00:00
|
|
|
${WRKSRC}/src
|
2001-04-22 22:27:11 +00:00
|
|
|
.endif
|
1999-03-21 05:45:21 +00:00
|
|
|
|
2002-03-17 21:48:34 +00:00
|
|
|
.if ${FLAVOR:L:Mlite}
|
|
|
|
CONFIGURE_ARGS+= --without-xpm --disable-transparency \
|
|
|
|
--disable-background-image --disable-fading \
|
|
|
|
--without-jpeg --without-png
|
|
|
|
.else
|
2006-08-04 00:10:42 +00:00
|
|
|
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
|
|
|
|
png.>=2::graphics/png
|
2002-03-17 21:48:34 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-xpm --enable-transparency \
|
|
|
|
--enable-background-image --enable-fading \
|
|
|
|
--with-jpeg --with-png
|
2004-12-17 15:18:31 +00:00
|
|
|
WANTLIB+= Xpm
|
2002-03-17 21:48:34 +00:00
|
|
|
.endif
|
|
|
|
|
2002-10-29 19:48:57 +00:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2004-09-17 14:34:02 +00:00
|
|
|
post-install:
|
|
|
|
chgrp utmp ${PREFIX}/bin/aterm
|
|
|
|
chmod 2755 ${PREFIX}/bin/aterm
|
|
|
|
|
1999-03-21 05:45:21 +00:00
|
|
|
.include <bsd.port.mk>
|