2020-07-03 08:31:49 +00:00
|
|
|
PORTNAME= berry
|
2021-09-19 21:54:17 +00:00
|
|
|
DISTVERSION= 0.1.9
|
2020-07-03 08:31:49 +00:00
|
|
|
CATEGORIES= x11-wm
|
|
|
|
|
2021-01-22 10:08:51 +00:00
|
|
|
MAINTAINER= lcook@FreeBSD.org
|
2020-07-03 08:31:49 +00:00
|
|
|
COMMENT= Byte-sized, Xlib-based window manager
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2021-05-14 19:42:42 +00:00
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
|
|
libfreetype.so:print/freetype2
|
2020-07-03 08:31:49 +00:00
|
|
|
|
2021-05-14 19:42:42 +00:00
|
|
|
USES= gmake pkgconfig xorg
|
2020-07-03 08:31:49 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= JLErvin
|
|
|
|
USE_XORG= x11 xft xinerama
|
|
|
|
|
2021-05-14 19:42:42 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man \
|
|
|
|
--prefix=${PREFIX}
|
2020-07-03 08:31:49 +00:00
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
|
|
bin/${PORTNAME}c \
|
|
|
|
man/man1/${PORTNAME}.1.gz \
|
|
|
|
man/man1/${PORTNAME}c.1.gz
|
|
|
|
PORTDOCS= README.md
|
|
|
|
PORTEXAMPLES= autostart sxhkdrc xephyr.sh
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
|
|
|
post-patch:
|
2021-05-14 19:42:42 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,va_copy(,__&,' \
|
|
|
|
${WRKSRC}/utils.c
|
2020-07-03 08:31:49 +00:00
|
|
|
@${REINPLACE_CMD} -e '/^#!/s,bash,sh,' \
|
2021-05-14 19:42:42 +00:00
|
|
|
${WRKSRC}/examples/autostart \
|
|
|
|
${WRKSRC}/examples/xephyr.sh
|
2020-07-03 08:31:49 +00:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2021-05-14 19:42:42 +00:00
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} \
|
|
|
|
${STAGEDIR}${DOCSDIR}
|
2020-07-03 08:31:49 +00:00
|
|
|
|
|
|
|
post-install-EXAMPLES-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|