Skip to content

Commit

Permalink
x11-wm/sawfish: do not rebootstrap, install missing files
Browse files Browse the repository at this point in the history
- Drop `autoreconf' from USES added in commit 246008f
  for development version 1.12.90 which apparently required
  it, current stable version comes properly bootstrapped
- Fix the tar(1) command so all theme files are installed
  regardless of version thereof (bsdtar 3.5.1 traditionally
  defaults to /dev/sa0 while versions 3.6.x write to stdout
  which probably makes more sense nowadays)
- Assume maintainership for the time being, pet portlint(1)
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Jun 21, 2023
1 parent 1d0ec43 commit f0420dd
Show file tree
Hide file tree
Showing 2 changed files with 1,650 additions and 5 deletions.
10 changes: 5 additions & 5 deletions x11-wm/sawfish/Makefile
@@ -1,11 +1,11 @@
PORTNAME= sawfish
DISTVERSION= 1.13.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11-wm
MASTER_SITES= http://download.tuxfamily.org/sawfish/
DISTNAME= ${PORTNAME}_${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
MAINTAINER= danfe@FreeBSD.org
COMMENT= Extensible window manager using Lisp-based scripting language
WWW= https://sawfish.tuxfamily.org/

Expand All @@ -18,11 +18,9 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libgmp.so:math/gmp \
libharfbuzz.so:print/harfbuzz \
librep.so:lang/librep

RUN_DEPENDS= rep-gtk2>=0.90:x11-toolkits/rep-gtk2

USES= autoreconf gmake gnome libtool localbase makeinfo pathfix \
pkgconfig tar:xz xorg
USES= gmake gnome libtool makeinfo pathfix pkgconfig tar:xz xorg
USE_XORG= ice sm x11 xft xinerama xrandr xtst xrender xext
USE_GNOME= cairo gdkpixbuf2 gdkpixbuf2xlib gtk20
GNU_CONFIGURE= yes
Expand All @@ -45,6 +43,8 @@ post-patch:
'/dnsdomainname/d' ${WRKSRC}/build-info
@${REINPLACE_CMD} -e \
's|prog_name|program_name|g' ${WRKSRC}/src/main.c
@${REINPLACE_CMD} -e \
'/LC_ALL=C tar/s|-c|&f -|' ${WRKSRC}/themes/Makefile.in

post-build:
${STRIP_CMD} ${WRKSRC}/src/.libs/*.so \
Expand Down

0 comments on commit f0420dd

Please sign in to comment.