60 lines
1.4 KiB
Makefile
Raw Normal View History

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