aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gkrellm2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gkrellm2/Makefile')
-rw-r--r--sysutils/gkrellm2/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 8ec5168fc75d..51558c01131b 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gkrellm
-PORTVERSION= 1.0.0
+PORTVERSION= 1.0.1
CATEGORIES= sysutils ipv6
MASTER_SITES= http://web.wt.net/~billw/gkrellm/ \
${MASTER_SITE_LOCAL}
@@ -41,12 +41,8 @@ BINMODE= 4111
BINMODE= 2111
.endif
-post-patch:
- @${MV} ${WRKSRC}/src/gkrellm.h ${WRKSRC}/src/gkrellm.h.orig
- @${SED} \
- -e "s^/usr/share/gkrellm/themes^${PREFIX}/share/gkrellm/themes^" \
- -e "s^/usr/share/gkrellm/plugins^${PREFIX}/libexec/gkrellm/plugins^" \
- ${WRKSRC}/src/gkrellm.h.orig > ${WRKSRC}/src/gkrellm.h
+CFLAGS+= -DSYSTEM_THEMES_DIR='\"${PREFIX}/share/gkrellm/themes\"' \
+ -DSYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm/plugins\"'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellm ${PREFIX}/bin/gkrellm