2004-10-15 14:22:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.38 2004/10/15 12:22:14 tv 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/}
|
2004-10-15 14:22:13 +02:00
|
|
|
PKGREVISION= 10
|
1999-03-30 06:48:43 +02:00
|
|
|
CATEGORIES= x11
|
2003-07-12 16:30:06 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eterm/} \
|
2004-01-11 20:41:39 +01:00
|
|
|
ftp://ftp.dti.ad.jp/pub/X/Eterm/
|
1999-10-28 02:31:57 +02:00
|
|
|
DISTFILES= ${ETERM_SRCS} ${PIXMAP_FILES}
|
1999-03-30 06:48:43 +02:00
|
|
|
|
2003-07-12 16:30:06 +02:00
|
|
|
SITES_Eterm-bg-scale-1.tar.gz= ${MASTER_SITE_BACKUP}
|
|
|
|
SITES_Eterm-bg-scale-2.tar.gz= ${MASTER_SITE_BACKUP}
|
|
|
|
SITES_Eterm-bg-tile.tar.gz= ${MASTER_SITE_BACKUP}
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@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
|
|
|
|
2004-02-11 07:12:20 +01:00
|
|
|
USE_BUILDLINK3= YES
|
2003-03-27 20:44:46 +01:00
|
|
|
USE_PKGINSTALL= YES
|
2004-02-11 07:12:20 +01:00
|
|
|
USE_X11= YES
|
2003-03-27 20:44:46 +01:00
|
|
|
USE_LIBTOOL= YES
|
|
|
|
GNU_CONFIGURE= YES
|
2003-05-08 19:25:07 +02:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= Eterm
|
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/themes
|
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
|
|
|
|
2004-07-12 21:27:05 +02:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2002-12-26 05:58:44 +01:00
|
|
|
BUILD_DEFS+= USE_MMX
|
2004-07-12 21:27:05 +02:00
|
|
|
. if !empty(USE_MMX:M[Yy][Ee][Ss])
|
2004-07-12 21:08:03 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-mmx
|
2004-07-12 21:27:05 +02:00
|
|
|
. endif
|
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
|
|
|
|
2004-02-11 07:12:20 +01:00
|
|
|
.include "../../devel/libast/buildlink3.mk"
|
|
|
|
.include "../../graphics/imlib2/buildlink3.mk"
|
2003-03-27 20:44:46 +01:00
|
|
|
|
1999-03-30 06:48:43 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|