openbsd-ports/x11/aterm/Makefile

55 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.47 2010/11/22 08:56:47 jasper Exp $
COMMENT= color vt102 terminal emulator with transparency support
DISTNAME= aterm-0.4.2
REVISION= 3
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
CATEGORIES= x11
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xpm c util
HOMEPAGE= http://aterm.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aterm/}
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-xgetdefault \
--enable-ttygid \
--enable-utmp \
--with-xpm \
--enable-transparency \
--enable-background-image \
--enable-fading
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" LIBS="-lutil"
FLAVORS= big5
FLAVOR?=
.if ${FLAVOR:L:Mbig5}
RUN_DEPENDS= chinese/taipeifonts
PATCH_LIST= patch-* big5-patch-src_Makefile_in
CONFIGURE_ARGS+= --enable-big5
post-patch:
@cd ${FILESDIR}; cp -f {cli_xcin.c,protocol.h,state.h} \
${WRKSRC}/src
.endif
NO_REGRESS= Yes
post-install:
chgrp utmp ${PREFIX}/bin/aterm
chmod 2755 ${PREFIX}/bin/aterm
.include <bsd.port.mk>