Index: head/x11-wm/Makefile =================================================================== --- head/x11-wm/Makefile (revision 541086) +++ head/x11-wm/Makefile (revision 541087) @@ -1,131 +1,132 @@ # $FreeBSD$ # COMMENT = X11 window managers SUBDIR += aewm SUBDIR += afterstep SUBDIR += afterstep-stable SUBDIR += amiwm SUBDIR += antiwm SUBDIR += aphelia SUBDIR += awesome SUBDIR += awesome-vicious SUBDIR += bbkeys SUBDIR += bbpager + SUBDIR += berry SUBDIR += blackbox SUBDIR += bspwm SUBDIR += cage SUBDIR += chamfer SUBDIR += compiz SUBDIR += compiz-plugins-extra SUBDIR += compiz-plugins-main SUBDIR += compiz-plugins-unsupported SUBDIR += compizconfig-backend-gconf SUBDIR += compizconfig-python SUBDIR += compton SUBDIR += ctwm SUBDIR += cwm SUBDIR += devilspie SUBDIR += dwm SUBDIR += e-module-alarm SUBDIR += e-module-cpu SUBDIR += e-module-deskshow SUBDIR += e-module-everything-places SUBDIR += e-module-mem SUBDIR += e-module-rmb SUBDIR += e-module-wlan SUBDIR += e-modules SUBDIR += e16 SUBDIR += e16-docs SUBDIR += echinus SUBDIR += emerald SUBDIR += enlightenment SUBDIR += epplets SUBDIR += euclid-wm SUBDIR += evilwm SUBDIR += fbcmd SUBDIR += fluxbox SUBDIR += fluxter SUBDIR += flwm SUBDIR += fvwm-crystal SUBDIR += fvwm2 SUBDIR += gcompmgr SUBDIR += herbstluftwm SUBDIR += hikari SUBDIR += hs-xmonad SUBDIR += i3 SUBDIR += i3-gaps SUBDIR += icewm SUBDIR += jewel SUBDIR += jwm SUBDIR += kickshaw SUBDIR += larswm SUBDIR += libcompizconfig SUBDIR += libdockapp SUBDIR += libwraster SUBDIR += lwm SUBDIR += lxappearance-obconf SUBDIR += lxmed SUBDIR += lxqt SUBDIR += lxqt-panel SUBDIR += lxqt-session SUBDIR += lxsession SUBDIR += marco SUBDIR += mcwm SUBDIR += metacity SUBDIR += muffin SUBDIR += mutter SUBDIR += obconf SUBDIR += obconf-qt SUBDIR += obpager SUBDIR += openbox SUBDIR += oroborus SUBDIR += pager SUBDIR += peksystray SUBDIR += pekwm SUBDIR += phluid SUBDIR += picom SUBDIR += piewm SUBDIR += plasma5-kdecoration SUBDIR += plasma5-kwin SUBDIR += pwm SUBDIR += qtile SUBDIR += ratmen SUBDIR += ratpoison SUBDIR += rubygem-uh-layout SUBDIR += rubygem-uh-wm SUBDIR += sawfish SUBDIR += selectwm SUBDIR += skippy-xd SUBDIR += spectrwm SUBDIR += stumpwm SUBDIR += subtle SUBDIR += sway SUBDIR += tinywm SUBDIR += transset SUBDIR += treewm SUBDIR += tvtwm SUBDIR += twm SUBDIR += vtwm SUBDIR += w9wm SUBDIR += wayfire SUBDIR += windowmaker SUBDIR += wm2 SUBDIR += wmakerconf SUBDIR += wmanager SUBDIR += wmanager-addons SUBDIR += wmconfig SUBDIR += wmii SUBDIR += wmii-devel SUBDIR += wmname SUBDIR += wmx SUBDIR += xcompmgr SUBDIR += xfce4 SUBDIR += xfce4-desktop SUBDIR += xfce4-panel SUBDIR += xfce4-panel-profiles SUBDIR += xfce4-session SUBDIR += xfce4-wm .include Index: head/x11-wm/berry/Makefile =================================================================== --- head/x11-wm/berry/Makefile (nonexistent) +++ head/x11-wm/berry/Makefile (revision 541087) @@ -0,0 +1,49 @@ +# $FreeBSD$ + +PORTNAME= berry +PORTVERSION= 0.1.5 +CATEGORIES= x11-wm + +MAINTAINER= vulcan@wired.sh +COMMENT= Byte-sized, Xlib-based window manager + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig + +USES= xorg +USE_GITHUB= yes +GH_ACCOUNT= JLErvin +USE_XORG= x11 xft xinerama + +MAKE_ARGS= CC="${CC}" \ + FREETYPEINC="${LOCALBASE}/include/freetype2" \ + MANPREFIX="${MANPREFIX}/man" \ + X11INC="${LOCALBASE}/include" \ + X11LIB="${LOCALBASE}/lib" + +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: + @${REINPLACE_CMD} -e 's,va_copy(,__&,' ${WRKSRC}/utils.c + @${REINPLACE_CMD} -e '/^#!/s,bash,sh,' \ + ${WRKSRC}/examples/autostart ${WRKSRC}/examples/xephyr.sh + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} \ + ${STAGEDIR}${EXAMPLESDIR} + +.include Property changes on: head/x11-wm/berry/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/berry/distinfo =================================================================== --- head/x11-wm/berry/distinfo (nonexistent) +++ head/x11-wm/berry/distinfo (revision 541087) @@ -0,0 +1,3 @@ +TIMESTAMP = 1587683926 +SHA256 (JLErvin-berry-0.1.5_GH0.tar.gz) = 3d2fa52aeba6ed05d3cc0e8308604c5a83e94a8623f3e66ed53fd5e0fdabfabf +SIZE (JLErvin-berry-0.1.5_GH0.tar.gz) = 23651 Property changes on: head/x11-wm/berry/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/berry/files/patch-Makefile =================================================================== --- head/x11-wm/berry/files/patch-Makefile (nonexistent) +++ head/x11-wm/berry/files/patch-Makefile (revision 541087) @@ -0,0 +1,15 @@ +--- Makefile.orig 2020-04-23 23:18:46 UTC ++++ Makefile +@@ -41,10 +41,8 @@ dist: clean + + install: all + mkdir -p ${DESTDIR}${PREFIX}/bin +- cp -f berry ${DESTDIR}${PREFIX}/bin +- cp -f berryc ${DESTDIR}${PREFIX}/bin +- chmod 755 ${DESTDIR}${PREFIX}/bin/berry +- chmod 755 ${DESTDIR}${PREFIX}/bin/berryc ++ ${BSD_INSTALL_PROGRAM} berry ${DESTDIR}${PREFIX}/bin ++ ${BSD_INSTALL_PROGRAM} berryc ${DESTDIR}${PREFIX}/bin + mkdir -p ${DESTDIR}${MANPREFIX}/man1 + sed "s/VERSION/${VERSION}/g" < berry.1 > ${DESTDIR}${MANPREFIX}/man1/berry.1 + sed "s/VERSION/${VERSION}/g" < berryc.1 > ${DESTDIR}${MANPREFIX}/man1/berryc.1 Property changes on: head/x11-wm/berry/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/berry/files/patch-config.mk =================================================================== --- head/x11-wm/berry/files/patch-config.mk (nonexistent) +++ head/x11-wm/berry/files/patch-config.mk (revision 541087) @@ -0,0 +1,13 @@ +--- config.mk.orig 2020-04-23 23:18:46 UTC ++++ config.mk +@@ -36,8 +36,8 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIB + # flags + CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ${DEBUG_CPPFLAGS} + #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS} +-CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS} $(NAME_DEFINES) +-LDFLAGS = ${LIBS} ++CFLAGS += -std=c99 -pedantic -Wall -Wno-deprecated-declarations ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS} $(NAME_DEFINES) ++LDFLAGS += ${LIBS} -lm + + # Solaris + #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" Property changes on: head/x11-wm/berry/files/patch-config.mk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/berry/pkg-descr =================================================================== --- head/x11-wm/berry/pkg-descr (nonexistent) +++ head/x11-wm/berry/pkg-descr (revision 541087) @@ -0,0 +1,5 @@ +Minimal window manager, controlled via a powerful command-line client, +allowing users to control windows via a hotkey daemon such as sxhkd or +expand functionality via shell scripts. + +WWW: https://berrywm.org/ Property changes on: head/x11-wm/berry/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property