summaryrefslogtreecommitdiffstats
path: root/x11-themes/gnome-themes-extras
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/gnome-themes-extras')
-rw-r--r--x11-themes/gnome-themes-extras/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-themes/gnome-themes-extras/Makefile b/x11-themes/gnome-themes-extras/Makefile
index 9a6b96273..a537be10e 100644
--- a/x11-themes/gnome-themes-extras/Makefile
+++ b/x11-themes/gnome-themes-extras/Makefile
@@ -27,8 +27,15 @@ USE_GNOME= gnomehack libgnomeui intlhack
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 503001
+EXTRACT_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
+TAR= ${LOCALBASE}/bin/gtar
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
"/^themedir =.*metacity-1$$/s|themes|gnome/themes|"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>