blob: f113a2105b2175060f8c577b142b891a3973e65b (
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
|
# $NetBSD: Makefile.common,v 1.23 2003/06/04 08:56:46 tron Exp $
DISTNAME= icewm-1.2.7
CATEGORIES= x11 wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icewm/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://icewm.sourceforge.net/
GNU_CONFIGURE= # defined
USE_BUILDLINK2= yes
USE_X11= # defined
USE_GMAKE= # defined
USE_PKGINSTALL= yes
USE_PKGLOCALEDIR= # defined
BUILD_USES_MSGFMT= # defined
DISTINFO_FILE= ${.CURDIR}/../../wm/icewm/distinfo
FILESDIR= ${.CURDIR}/../../wm/icewm/files
PATCHDIR= ${.CURDIR}/../../wm/icewm/patches
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-cfgdir=${PKG_SYSCONFDIR}
PKG_SYSCONFSUBDIR= icewm
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
CPPFLAGS+= -DSTART_PIXMAP=\"\\\"bsd-daemon.xpm\\\"\"
.endif
DOCDIR= ${PREFIX}/share/doc/icewm
HTMLDIR= ${PREFIX}/share/doc/html/icewm
INSTALL_TARGET= install-base install-nls
post-extract:
${CP} ${FILES} ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
${MV} ${WRKSRC}/po/zh_CN.gb2312.po ${WRKSRC}/po/zh_CN.GB2312.po
${MV} ${WRKSRC}/po/zh_CN.gb2312.pox ${WRKSRC}/po/zh_CN.GB2312.pox
post-install:
${INSTALL_DATA_DIR} ${DOCDIR} ${HTMLDIR}
for file in BUGS CHANGES COPYING FAQ README README.wm-session TODO; do\
${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCDIR}; \
done
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${HTMLDIR}
.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../fonts/Xft2/buildlink2.mk"
|