1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/x11-wm/sawfish/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

54 lines
1.3 KiB
Makefile

# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
PORTNAME= sawfish
DISTVERSION= 1.12.90
CATEGORIES= x11-wm
MASTER_SITES= http://download.tuxfamily.org/sawfish/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Extensible window manager using Lisp-based scripting language
LICENSE= ART20 GPLv2
LICENSE_COMB= multi
BUILD_DEPENDS= rep-gtk2>=0.90:x11-toolkits/rep-gtk2
LIB_DEPENDS= librep.so:lang/librep \
libgmp.so:math/gmp \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
RUN_DEPENDS= rep-gtk2>=0.90:x11-toolkits/rep-gtk2
USES= autoreconf gmake gnome libtool localbase makeinfo pathfix \
pkgconfig tar:xz xorg
USE_XORG= ice sm x11 xft xinerama xrandr xtst xrender xext
USE_GNOME= cairo 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 \
'/KDEDIR/s|^|#|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|prog_name|program_name|g' ${WRKSRC}/src/main.c
post-build:
${STRIP_CMD} ${WRKSRC}/src/.libs/*.so \
${WRKSRC}/src/gtk-style
.include <bsd.port.mk>