aboutsummaryrefslogtreecommitdiffstats
path: root/www/galeon2
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-08-05 00:11:37 +0800
committerade <ade@FreeBSD.org>2000-08-05 00:11:37 +0800
commit2ec15efed65c73a9f08ecb8ba34fc4d5743eaf7c (patch)
tree54697a02f9cf91eebcf5293bab63412d16e247b8 /www/galeon2
parent061a8105c984c45e2b5197d1dff0f69039bd8488 (diff)
downloadfreebsd-ports-gnome-2ec15efed65c73a9f08ecb8ba34fc4d5743eaf7c.tar.gz
freebsd-ports-gnome-2ec15efed65c73a9f08ecb8ba34fc4d5743eaf7c.tar.zst
freebsd-ports-gnome-2ec15efed65c73a9f08ecb8ba34fc4d5743eaf7c.zip
Re-sobomize to use pre-patch instead of post-extract
Wrists slapped by: knu, sheldon
Diffstat (limited to 'www/galeon2')
-rw-r--r--www/galeon2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/galeon2/Makefile b/www/galeon2/Makefile
index 1421a2922cd8..3ab307e5bfe8 100644
--- a/www/galeon2/Makefile
+++ b/www/galeon2/Makefile
@@ -36,13 +36,15 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-post-patch:
+pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \
s|-lpthread|-pthread|g'
+
+post-patch:
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g ; \
s|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/src/galeon