2002-12-15 15:55:21 +01:00
|
|
|
# $NetBSD: Makefile,v 1.33 2002/12/15 14:55:21 grant Exp $
|
1997-10-09 13:37:03 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.13 1997/03/07 12:29:49 obrien Exp
|
|
|
|
#
|
|
|
|
|
2000-05-08 05:25:20 +02:00
|
|
|
DISTNAME= rxvt-2.7.3
|
1998-04-20 13:56:17 +02:00
|
|
|
CATEGORIES= x11
|
1999-06-14 03:28:13 +02:00
|
|
|
MASTER_SITES= ftp://ftp.rxvt.org/pub/rxvt/ \
|
2001-07-15 11:49:54 +02:00
|
|
|
ftp://ftp.rxvt.org/pub/rxvt/devel/ \
|
2002-12-15 15:55:21 +01:00
|
|
|
ftp://ftp.rxvt.org/pub/rxvt/old/ \
|
1999-12-23 15:46:00 +01:00
|
|
|
ftp://mason.primenet.com.au/pub/rxvt/
|
1999-06-14 03:28:13 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1997-10-09 13:37:03 +02:00
|
|
|
|
1999-06-14 19:43:20 +02:00
|
|
|
MAINTAINER= gcw@rxvt.org
|
1999-06-14 03:28:13 +02:00
|
|
|
HOMEPAGE= http://www.rxvt.org/
|
2001-02-17 18:06:11 +01:00
|
|
|
COMMENT= Low memory usage xterm replacement that supports color
|
1999-06-14 03:28:13 +02:00
|
|
|
|
2002-08-25 23:50:52 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2000-08-24 01:14:21 +02:00
|
|
|
USE_X11BASE= YES
|
|
|
|
GNU_CONFIGURE= YES
|
2000-07-15 22:39:13 +02:00
|
|
|
|
1999-06-14 03:28:13 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-utmp \
|
|
|
|
--enable-xpm-background \
|
|
|
|
--enable-transparency \
|
|
|
|
--enable-menubar \
|
|
|
|
--enable-xterm-scroll \
|
|
|
|
--enable-xim \
|
2000-05-08 05:25:20 +02:00
|
|
|
--enable-ttygid \
|
1999-06-14 03:28:13 +02:00
|
|
|
--enable-xgetdefault \
|
2000-05-08 05:25:20 +02:00
|
|
|
--enable-frills \
|
|
|
|
--enable-keepscrolling \
|
2001-08-06 08:09:55 +02:00
|
|
|
--enable-mousewheel \
|
2002-10-26 20:02:16 +02:00
|
|
|
--enable-languages
|
2001-08-06 08:09:55 +02:00
|
|
|
|
|
|
|
# Note: greek support could not be enabled, as the resource file handling
|
|
|
|
# to disable it at runtime is documented but not implemented in the current
|
|
|
|
# version. See files/Rxvt and check if it works for newer versions. When
|
|
|
|
# enabling it, please fix pkg/MESSAGE as well.
|
|
|
|
# --enable-greek
|
1997-10-09 13:37:03 +02:00
|
|
|
|
2002-08-25 23:50:52 +02:00
|
|
|
CONFIGURE_ARGS+= --with-xpm-includes=${BUILDLINK_PREFIX.xpm}/include/X11
|
|
|
|
CONFIGURE_ARGS+= --with-xpm-library=${BUILDLINK_PREFIX.xpm}/lib
|
2001-07-15 11:49:54 +02:00
|
|
|
|
2001-08-06 08:09:55 +02:00
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/src/feature.h ${WRKSRC}/src/feature.h.orig
|
|
|
|
${SED} < ${WRKSRC}/src/feature.h.orig > ${WRKSRC}/src/feature.h \
|
2001-09-30 18:38:08 +02:00
|
|
|
-e "s:/usr/lib/X11/app-defaults:${X11PREFIX}/lib/X11/app-defaults:"
|
2001-08-06 08:09:55 +02:00
|
|
|
|
|
|
|
pre-install:
|
2001-09-30 18:38:08 +02:00
|
|
|
if [ ! -f ${X11PREFIX}/lib/X11/app-defaults/Rxvt ]; then \
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/Rxvt ${X11PREFIX}/lib/X11/app-defaults; \
|
2001-08-06 08:09:55 +02:00
|
|
|
fi
|
|
|
|
|
2002-10-26 20:02:16 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
CFLAGS+= -DSunOS
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-wtmp \
|
|
|
|
--enable-lastlog \
|
|
|
|
--with-encoding=noenc
|
|
|
|
.endif
|
|
|
|
|
2002-08-25 23:50:52 +02:00
|
|
|
.include "../../graphics/xpm/buildlink2.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|