summaryrefslogtreecommitdiff
path: root/net/jags/Makefile
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-07-09 21:50:56 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-07-09 21:50:56 +0000
commit3591b6098950dcff27383e097a957bdef79b4d67 (patch)
tree35df397121de283d4eded3cc35f3985baa309f44 /net/jags/Makefile
parentMark fvwm2-beta broken because the fvwm2 has the latest released version. (diff)
use pre-patch to do regex incase patches are ever needed
PR: 28838 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=44977
Diffstat (limited to 'net/jags/Makefile')
-rw-r--r--net/jags/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/jags/Makefile b/net/jags/Makefile
index 1c7fdaf1ed86..1cb155edd3ab 100644
--- a/net/jags/Makefile
+++ b/net/jags/Makefile
@@ -18,10 +18,10 @@ USE_GTK= yes
USE_GLIB= yes
GNU_CONFIGURE= yes
-.include <bsd.port.mk>
-
-patch:
+pre-patch:
@${PERL} -pi.fbsd -e 's@/usr/local/share/jags/@${PREFIX}/share/jags/@g' \
${WRKSRC}/src/jagsconfig.cpp
@${PERL} -pi.fbsd -e 's@/usr/local/share/jags/pixmaps/@${PREFIX}/share/jags/pixmaps/@g' \
${WRKSRC}/src/gtk_common.cpp
+
+.include <bsd.port.mk>