openbsd-ports/x11/aterm/Makefile

60 lines
1.3 KiB
Makefile
Raw Normal View History

2006-11-20 15:49:34 -05:00
# $OpenBSD: Makefile,v 1.40 2006/11/20 20:49:34 bernd Exp $
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
# 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
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/}
USE_X11= Yes
2000-07-03 00:43:54 -04:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-xgetdefault --enable-ttygid --enable-utmp
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" LIBS="-lutil"
2002-03-17 16:48:34 -05:00
FLAVORS= big5 lite
FLAVOR?=
2004-09-17 20:24:44 -04:00
PATCH_LIST+= patch-src_command_c
.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
CONFIGURE_ARGS+= --enable-big5
post-patch:
@cd ${FILESDIR}; cp -f {cli_xcin.c,protocol.h,state.h} \
${WRKSRC}/src
.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
post-install:
chgrp utmp ${PREFIX}/bin/aterm
chmod 2755 ${PREFIX}/bin/aterm
1999-03-21 00:45:21 -05:00
.include <bsd.port.mk>