blob: e6a8bd509e6e438e560fe1ff31f112088966e636 (
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
|
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
# $FreeBSD$
PORTNAME= alltray
PORTVERSION= 0.70
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= SF
MAINTAINER= acm@FreeBSD.org
COMMENT= Dock any application with no native tray icon
USES= pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= alltray.1
OPTIONS_DEFINE= KDE
KDE_DESC= Support only KDE desktop
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MKDE}
CONFIGURE_ARGS= --disable-gconf
.else
USE_GNOME+= gconf2
.endif
post-patch:
@${CHMOD} +x ${WRKSRC}/install-sh
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/lib/Makefile.in
@${REINPLACE_CMD} -e 's|-L/usr/X11R6/lib||' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|/etc/gconf|${LOCALBASE}/etc/gconf|; \
/THEME_DIR1/ s|/usr/share/|${LOCALBASE}/share/themes/|' \
${WRKSRC}/src/gnome_theme.c
@${REINPLACE_CMD} -e 's|liballtray\.so\.0\.0\.0|liballtray.so.0|; \
s|/usr/lib|${PREFIX}/lib|' ${WRKSRC}/src/child.c
.include <bsd.port.mk>
|