blob: 1eb6fcd9e1c0122be4bbaf3d20dbe2ca01f72298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# $NetBSD: Makefile,v 1.7 2000/08/16 00:41:13 wiz Exp $
DISTNAME= Eterm-0.8.9
PKGNAME= eterm-0.8.9
CATEGORIES= x11
MASTER_SITES= ftp://ftp.eterm.org/pub/Eterm/ \
ftp://alien.eterm.org/pub/Eterm/ \
ftp://ftp.themes.org/pub/enlightenment/eterm/ \
ftp://ftp.dti.ad.jp/pub/X/Eterm/
DISTFILES= ${ETERM_SRCS} ${PIXMAP_FILES}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.eterm.org/
DEPENDS+= imlib-*:../../graphics/imlib
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
USE_X11BASE= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
pre-build:
@if ${PKG_INFO} -qe 'eterm<0.8.9'; then \
${ECHO} "**** An older version of Eterm is installed"; \
${ECHO} "**** ${PKGNAME} cannot be built with it installed."; \
${ECHO} "**** Please delete it before building"; \
${ECHO} "**** or use \"${MAKE} update\"."; \
${FALSE}; \
fi
post-extract:
${LN} -sf ${WRKSRC} ${WRKDIR}/Eterm
cd ${WRKDIR}; \
for f in ${PIXMAP_FILES}; do \
${GZCAT} ${DISTDIR}/$$f | ${PAX} -r; \
done
.if ${OPSYS} == "NetBSD"
post-install:
# Make Eterm setuid root so that utmp logging functions correctly.
#
${CHOWN} 0 ${PREFIX}/bin/Eterm
${CHMOD} 4711 ${PREFIX}/bin/Eterm
.endif
.include "../../mk/bsd.pkg.mk"
|