aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/adapta-gtk-theme/Makefile
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2021-01-31 07:47:08 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2021-01-31 07:47:08 +0000
commit68593d318ef25ca26f6d15a0d6c3cf5ad0ecff86 (patch)
treecfc80bd54a9024e8bd774d62f0f6de1ffbcdd39a /x11-themes/adapta-gtk-theme/Makefile
parent19d01ff456d638cfdc9e3f7c2e3eb2db9a7b2dba (diff)
downloadports-68593d318ef25ca26f6d15a0d6c3cf5ad0ecff86.tar.gz
ports-68593d318ef25ca26f6d15a0d6c3cf5ad0ecff86.zip
Notes
Diffstat (limited to 'x11-themes/adapta-gtk-theme/Makefile')
-rw-r--r--x11-themes/adapta-gtk-theme/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11-themes/adapta-gtk-theme/Makefile b/x11-themes/adapta-gtk-theme/Makefile
index cb2d892f25a1..0cf5b421006f 100644
--- a/x11-themes/adapta-gtk-theme/Makefile
+++ b/x11-themes/adapta-gtk-theme/Makefile
@@ -14,8 +14,6 @@ LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_CC-BY-SA-4.0= ${WRKSRC}/LICENSE_CC_BY_SA4
-BROKEN= fails to build
-
BUILD_DEPENDS= gsed:textproc/gsed \
inkscape:graphics/inkscape \
bash:shells/bash \
@@ -48,6 +46,8 @@ MATE_DESC= Support for Mate Desktop Environment
MATE_IMPLIES= METACITY
METACITY_DESC= Support for metacity Window Manager
+NO_ARCH= yes
+
OPENBOX_CONFIGURE_ENABLE= openbox
OPENBOX_DESC= Support for Openbox Desktop Environment
OPTIONS_DEFAULT= CHROME CINNAMON GNOMESHELL MATE METACITY OPENBOX PARALLEL XFCE
@@ -66,10 +66,14 @@ USE_GNOME= gdkpixbuf2 glib20 librsvg2 libxml2
XFCE_CONFIGURE_ENABLE= xfce
XFCE_DESC= Support for XFce Desktop Environment
-# use textproc/gsed
post-patch:
+# use textproc/gsed
@(cd ${WRKSRC} && \
${FIND} . -type f -iregex '${SHEBANG_REGEX}' \
-exec ${SED} -i '' -e 's,sed -i,${LOCALBASE}/bin/g&,g' {} ";")
+# replace deprecated inkscape flags
+ @(cd ${WRKSRC} && \
+ ${FIND} . -type f -iregex '${SHEBANG_REGEX}' \
+ -exec ${SED} -i '' -e 's|--export-png=|--export-filename=|g' {} ";")
.include <bsd.port.mk>