blob: 697e2185bce12298f5004f96fb75e3b0c5110039 (
plain) (
blame)
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
53
54
55
56
57
58
59
60
61
|
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
# $FreeBSD$
PORTNAME= xnee
PORTVERSION= 3.19
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 events recorder and player
LICENSE= GPLv3
# Fix build with -fno-common (llvm 11)
CFLAGS+= -fcommon
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
EXPIRATION_DATE=2021-04-01
GNU_CONFIGURE= yes
USES= gmake pathfix xorg
USE_XORG= xtst
CONFIGURE_ARGS= --enable-cli --disable-doc --disable-xinput2
INFO= ${PORTNAME}
OPTIONS_DEFINE= GNEE
OPTIONS_SUB= yes
GNEE_DESC= GUI frontend
GNEE_CONFIGURE_ENABLE= gui
GNEE_USES= gnome pkgconfig
GNEE_USE= GNOME=gtk20
GNEE_DESKTOP_ENTRIES= "Gnee" "" "${PORTNAME}.png" \
"gnee" "Development;" true
post-patch:
@${REINPLACE_CMD} -e \
's|$${libdir}/gnome-panel|$${prefix}/libexec|g ; \
s|$${libdir}/bonobo/|$${prefix}/libdata/bonobo/|g ; \
s|"CCC"|""|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|@PIXMAP_DIR@|pixmap|g ; \
s|@DOC_DIR@||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|make man|$$(MAKE) man|g' ${WRKSRC}/cnee/Makefile.in
@${REINPLACE_CMD} -e \
's|: install-docDATA|:|g' ${WRKSRC}/cnee/src/Makefile.in
@${REINPLACE_CMD} -e \
's|$$(libgnomeui_CFLAGS)||g ; \
s|$$(libgnomeui_LIBS)||g' ${WRKSRC}/gnee/src/Makefile.in
@${REINPLACE_CMD} -e \
's|src test|src|g' ${WRKSRC}/libxnee/Makefile.in
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/xnee.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
.include <bsd.port.mk>
|