mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
use pre-patch to do regex incase patches are ever needed
PR: 28838 Submitted by: maintainer
This commit is contained in:
parent
5aef7e69ee
commit
3591b60989
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44977
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user