summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/gnome-system-tools/Makefile6
-rw-r--r--sysutils/gnomesystemtools/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/sysutils/gnome-system-tools/Makefile b/sysutils/gnome-system-tools/Makefile
index 8b5f34a6b..80519dd8b 100644
--- a/sysutils/gnome-system-tools/Makefile
+++ b/sysutils/gnome-system-tools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomesystemtools
PORTVERSION= 1.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-system-tools/1.0
@@ -35,4 +35,8 @@ PLIST_SUB+= SERVICES=""
PLIST_SUB+= SERVICES="@comment "
.endif
+post-configure:
+ @${FIND} ${WRKSRC}/backends \( -name "*.pl" -or -name "*-conf" \) | \
+ ${XARGS} ${REINPLACE_CMD} -e 's|@scriptsdir|[@]scriptsdir|g'
+
.include <bsd.port.post.mk>
diff --git a/sysutils/gnomesystemtools/Makefile b/sysutils/gnomesystemtools/Makefile
index 8b5f34a6b..80519dd8b 100644
--- a/sysutils/gnomesystemtools/Makefile
+++ b/sysutils/gnomesystemtools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomesystemtools
PORTVERSION= 1.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-system-tools/1.0
@@ -35,4 +35,8 @@ PLIST_SUB+= SERVICES=""
PLIST_SUB+= SERVICES="@comment "
.endif
+post-configure:
+ @${FIND} ${WRKSRC}/backends \( -name "*.pl" -or -name "*-conf" \) | \
+ ${XARGS} ${REINPLACE_CMD} -e 's|@scriptsdir|[@]scriptsdir|g'
+
.include <bsd.port.post.mk>