summaryrefslogtreecommitdiffstats
path: root/x11-themes/gnome-themes-extras
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-15 16:56:19 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-15 16:56:19 +0800
commit752a5d064081e1ba76e469374c8049352311715e (patch)
tree2ac57c02d6a48915c63bd280fbcc5bda34af2600 /x11-themes/gnome-themes-extras
parentdd775220ba2fc43e0697b144375307454d455332 (diff)
downloadmarcuscom-ports-752a5d064081e1ba76e469374c8049352311715e.tar
marcuscom-ports-752a5d064081e1ba76e469374c8049352311715e.tar.gz
marcuscom-ports-752a5d064081e1ba76e469374c8049352311715e.tar.bz2
marcuscom-ports-752a5d064081e1ba76e469374c8049352311715e.tar.lz
marcuscom-ports-752a5d064081e1ba76e469374c8049352311715e.tar.xz
marcuscom-ports-752a5d064081e1ba76e469374c8049352311715e.tar.zst
marcuscom-ports-752a5d064081e1ba76e469374c8049352311715e.zip
Due to a whacked out distfile, this port needs gtar to extract on earlier
versions of FreeBSD. Reported by: adamw git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3654 df743ca5-7f9a-e211-a948-0013205c9059
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>