blob: 66716a9b1b40a7c7d9b8438c2b50d7b013e25af6 (
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
62
63
|
PORTNAME= deforaos-panel
PORTVERSION= 0.3.6
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://www.defora.org/os/download/download/4417/
DISTNAME= Panel-${PORTVERSION}
MAINTAINER= olivier@FreeBSD.org
COMMENT= DeforaOS desktop panel
WWW= https://www.defora.org/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_FreeBSD_13= network.c:298:19: error: variable has incomplete type 'struct ifdatareq'
BROKEN_FreeBSD_14= network.c:298:19: error: variable has incomplete type 'struct ifdatareq'
LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \
libSystem.so:devel/deforaos-libsystem \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
BUILD_DEPENDS= browser:x11-fm/deforaos-browser
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \
sudo:security/sudo
USES= gnome pkgconfig xorg
USE_GNOME= gtk20 cairo
USE_XORG= x11
MAKE_ARGS+= PREFIX=${PREFIX}
USE_LDCONFIG= yes
MAKE_ENV= MANDIR=${STAGEDIR}${MANPREFIX}/man
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
post-patch-DOCS-off:
${REINPLACE_CMD} 's|data doc include|data include|' \
${WRKSRC}/Makefile
post-patch-NLS-off:
${REINPLACE_CMD} 's|include po src|include src|' \
${WRKSRC}/Makefile
post-patch:
${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \
${WRKSRC}/data/pkgconfig.sh
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${PREFIX}|g' \
${WRKSRC}/src/panel.c
${REINPLACE_CMD} 's|-Wl,-pie||g' \
${WRKSRC}/tools/Makefile \
${WRKSRC}/src/Makefile \
${WRKSRC}/tests/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \
${STAGEDIR}${PREFIX}/lib/Panel/applets/* \
${STAGEDIR}${PREFIX}/lib/libPanel.so.0.0
.include <bsd.port.mk>
|