2003-05-05 16:41:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2003/05/05 14:41:55 jmmv Exp $
|
2003-03-27 20:44:46 +01:00
|
|
|
#
|
1999-03-30 06:48:43 +02:00
|
|
|
|
2002-12-26 05:58:44 +01:00
|
|
|
DISTNAME= Eterm-0.9.2
|
2003-03-27 20:44:46 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/^E/e/}
|
2003-05-05 16:41:54 +02:00
|
|
|
PKGREVISION= 2
|
1999-03-30 06:48:43 +02:00
|
|
|
CATEGORIES= x11
|
1999-10-28 02:31:57 +02:00
|
|
|
MASTER_SITES= ftp://ftp.eterm.org/pub/Eterm/ \
|
|
|
|
ftp://alien.eterm.org/pub/Eterm/ \
|
|
|
|
ftp://ftp.dti.ad.jp/pub/X/Eterm/
|
|
|
|
DISTFILES= ${ETERM_SRCS} ${PIXMAP_FILES}
|
1999-03-30 06:48:43 +02:00
|
|
|
|
1999-10-28 02:31:57 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
1999-03-30 06:48:43 +02:00
|
|
|
HOMEPAGE= http://www.eterm.org/
|
2001-02-17 18:06:11 +01:00
|
|
|
COMMENT= Enlightened terminal emulator for the X Window System
|
1999-03-30 06:48:43 +02:00
|
|
|
|
1999-10-28 02:31:57 +02:00
|
|
|
EXTRACT_ONLY= ${ETERM_SRCS}
|
|
|
|
ETERM_SRCS= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
PIXMAP_FILES= Eterm-bg-scale-1.tar.gz Eterm-bg-scale-2.tar.gz \
|
|
|
|
Eterm-bg-tile.tar.gz
|
1999-03-30 06:48:43 +02:00
|
|
|
|
2003-03-27 20:44:46 +01:00
|
|
|
USE_BUILDLINK2= YES
|
|
|
|
USE_PKGINSTALL= YES
|
|
|
|
USE_X11BASE= YES
|
|
|
|
USE_LIBTOOL= YES
|
2002-12-26 05:58:44 +01:00
|
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
2003-03-27 20:44:46 +01:00
|
|
|
GNU_CONFIGURE= YES
|
1999-03-30 06:48:43 +02:00
|
|
|
|
2000-02-16 11:35:56 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2003-03-27 20:44:46 +01:00
|
|
|
# Install Eterm as setuid root so that utmp logging function correctly.
|
|
|
|
#
|
|
|
|
# XXX: If installed setuid root on Solaris, pseudo-tty is owned by root,
|
|
|
|
# and it's not possible to resume a screen session as a normal user.
|
|
|
|
# (this behaviour should be reviewed again, since this workaround
|
|
|
|
# is 2 years and several version updates old.)
|
|
|
|
#
|
|
|
|
.if ${OPSYS} != "SunOS"
|
|
|
|
SPECIAL_PERMS= ${PREFIX}/bin/Eterm ${SETUID_ROOT_PERMS}
|
2002-12-26 05:58:44 +01:00
|
|
|
.endif
|
2003-03-27 20:44:46 +01:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "i386" && ${USE_MMX} != "NO"
|
|
|
|
CONFIGURE_ARGS+= --enable-mmx
|
2002-12-26 05:58:44 +01:00
|
|
|
BUILD_DEFS+= USE_MMX
|
2003-03-27 20:44:46 +01:00
|
|
|
.endif
|
2002-12-26 05:58:44 +01:00
|
|
|
|
1999-03-30 06:48:43 +02:00
|
|
|
post-extract:
|
1999-10-28 02:31:57 +02:00
|
|
|
${LN} -sf ${WRKSRC} ${WRKDIR}/Eterm
|
2003-04-10 22:10:15 +02:00
|
|
|
cd ${WRKDIR} && \
|
|
|
|
for f in ${PIXMAP_FILES}; do \
|
|
|
|
${PAX} -O -zrf ${DISTDIR}/$$f; \
|
2000-02-16 11:35:56 +01:00
|
|
|
done
|
1999-10-28 02:31:57 +02:00
|
|
|
|
2002-12-26 05:58:44 +01:00
|
|
|
.include "../../devel/libast/buildlink2.mk"
|
|
|
|
.include "../../graphics/imlib2/buildlink2.mk"
|
2003-03-27 20:44:46 +01:00
|
|
|
|
1999-03-30 06:48:43 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|