ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/x11-wm/fluxbox/Makefile
Revision: 23836
Committed: Sun Aug 26 18:24:06 2018 UTC (5 years, 7 months ago) by laffer1
File size: 2808 byte(s)
Log Message:
update fluxbox

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= fluxbox
4 PORTVERSION= 1.3.7
5 PORTREVISION= 2
6 CATEGORIES= x11-wm
7 MASTER_SITES= SF
8 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
9 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
10
11 MAINTAINER= ports@MidnightBSD.org
12 COMMENT= Small and fast window manager based on BlackBox
13
14 LICENSE= mit
15 LICENSE_FILE= ${WRKSRC}/COPYING
16
17 RUN_DEPENDS= xmessage:x11/xmessage
18 LIB_DEPENDS= libfribidi.so:converters/fribidi \
19 libfreetype.so:print/freetype2 \
20 libfontconfig.so:x11-fonts/fontconfig
21
22 USE_XORG= x11 xext xextproto xft xpm xrandr
23 USES= gmake pkgconfig
24 GNU_CONFIGURE= yes
25 CONFIGURE_TARGET= ${ARCH}-portbld-freebsd10.4
26
27 PORTDATA= *
28 PORTDOCS= *
29
30 DOCSVERSION= 20060629
31
32 OPTIONS_DEFINE= DOCS DOCHTML PDFDOCS DEBUG IMLIB2 XINERAMA \
33 XRENDER NLS SLIT SYSTRAY REMEMBER TOOLBAR
34 OPTIONS_DEFAULT= XRENDER SLIT SYSTRAY REMEMBER TOOLBAR XINERAMA
35 DOCHTML_DESC= Install html documentation
36 PDFDOCS_DESC= Build and install PDF documentation
37 REMEMBER_DESC= Enable remember feature
38 SLIT_DESC= Enable slit feature
39 SYSTRAY_DESC= Enable systray feature
40 TOOLBAR_DESC= Enable toolbar feature
41 XRENDER_DESC= Enable xrender support
42
43 DEBUG_CONFIGURE_ON= --enable-debug
44 IMLIB2_CONFIGURE_ENABLE= imlib2
45 IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2
46 NLS_CONFIGURE_ENABLE= nls
47 NLS_USES= iconv
48 NLS_VARS= CPPFLAGS+="-I${LOCALBASE}/include" LIBS+="-L${LOCALBASE}/lib ${ICONV_LIB}"
49 NLS_VARS_OFF= CPPFLAGS+="-I${LOCALBASE}/include" LIBS+="-L${LOCALBASE}/lib"
50 REMEMBER_CONFIGURE_ENABLE= remember
51 SLIT_CONFIGURE_ENABLE= slit
52 SYSTRAY_CONFIGURE_ENABLE= systray
53 TOOLBAR_CONFIGURE_ENABLE= toolbar
54 XINERAMA_CONFIGURE_ENABLE= xinerama
55 XINERAMA_USE= XORG=xinerama
56 XRENDER_USE= XORG=xrender
57 XRENDER_CONFIGURE_ENABLE= xrender
58
59 # http://fluxbox.org/docbook/en/tarballs/
60 DOCHTML_MASTER_SITES= LOCAL/mezz:html \
61 http://people.freebsd.org/~mezz/distfiles/:html
62 DOCHTML_DISTFILES= fb-doc-mfhtml-${DOCSVERSION}.tgz:html
63 DOCHTML_EXTRACT_ONLY= fb-doc-mfhtml-${DOCSVERSION}.tgz
64 # http://fluxbox.org/docbook/en/pdf/
65 PDFDOCS_MASTER_SITES= LOCAL/mezz:pdf \
66 http://people.freebsd.org/~mezz/distfiles/:pdf
67 PDFDOCS_DISTFILES= fluxbook-${DOCSVERSION}.pdf:pdf
68
69 post-patch:
70 @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
71 ${WRKSRC}/util/fluxbox-generate_menu.in ${WRKSRC}/util/fbsetbg
72
73 post-patch-NLS-off:
74 @${REINPLACE_CMD} -e 's|iconv_works=yes|iconv_works=no|' \
75 ${WRKSRC}/configure
76
77 post-install-DOCS-on:
78 (cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog NEWS README TODO" \
79 ${STAGEDIR}${DOCSDIR})
80
81 post-install-PDFDOCS-on:
82 @${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf
83 ${INSTALL_DATA} ${DISTDIR}/fluxbook-${DOCSVERSION}.pdf \
84 ${STAGEDIR}${DOCSDIR}/pdf/
85
86 post-install-DOCHTML-on:
87 @${MKDIR} ${STAGEDIR}${DOCSDIR}/html
88 . for h in *.css *.html
89 (cd ${WRKDIR}/html && ${INSTALL_DATA} ${h} ${STAGEDIR}${DOCSDIR}/html)
90 . endfor
91
92 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H