- Drop `autoreconf' from USES added in commit 246008f171
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)
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
PORTNAME= sawfish
|
|
DISTVERSION= 1.13.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://download.tuxfamily.org/sawfish/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Extensible window manager using Lisp-based scripting language
|
|
WWW= https://sawfish.tuxfamily.org/
|
|
|
|
LICENSE= ART20 GPLv2
|
|
LICENSE_COMB= multi
|
|
|
|
BUILD_DEPENDS= rep-gtk2>=0.90:x11-toolkits/rep-gtk2
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2 \
|
|
libgmp.so:math/gmp \
|
|
libharfbuzz.so:print/harfbuzz \
|
|
librep.so:lang/librep
|
|
RUN_DEPENDS= rep-gtk2>=0.90:x11-toolkits/rep-gtk2
|
|
|
|
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
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share \
|
|
--datadir=${PREFIX}/share
|
|
|
|
INFO= sawfish
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_OFF= --without-nls
|
|
|
|
post-extract:
|
|
@${RM} ${WRKSRC}/themes/StyleTab/Flat/.directory
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/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 \
|
|
${WRKSRC}/src/gtk-style
|
|
|
|
.include <bsd.port.mk>
|