aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2000-04-14 16:12:16 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2000-04-14 16:12:16 +0000
commit1176491a791febb582f82f82b50c74fbc095721e (patch)
tree736716060d58fabd8f063c373251f5f48d9ac329 /sysutils
parent9c9305e22ddb65a34ec0c035c2ecc8ec9d6b7516 (diff)
downloadports-1176491a791febb582f82f82b50c74fbc095721e.tar.gz
ports-1176491a791febb582f82f82b50c74fbc095721e.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gkrellm/Makefile14
-rw-r--r--sysutils/gkrellm/distinfo2
-rw-r--r--sysutils/gkrellm/pkg-plist3
-rw-r--r--sysutils/gkrellm2/Makefile14
-rw-r--r--sysutils/gkrellm2/distinfo2
-rw-r--r--sysutils/gkrellm2/pkg-plist3
6 files changed, 32 insertions, 6 deletions
diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile
index dc542efb453c..565efb227d19 100644
--- a/sysutils/gkrellm/Makefile
+++ b/sysutils/gkrellm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gkrellm
-PORTVERSION= 0.9.7
+PORTVERSION= 0.9.8
CATEGORIES= sysutils ipv6
MASTER_SITES= http://web.wt.net/~billw/gkrellm/ \
http://people.FreeBSD.org/~ume/gkrellm/
@@ -21,6 +21,7 @@ GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+INCLUDES= gkrellm.h gkrellm_public_proto.h gkrellm_private_proto.h
DOCS= COPYRIGHT README Themes
# You should aware that GKrellM must be setuid root to obtain
@@ -44,8 +45,17 @@ BINMODE= 4111
BINMODE= 2111
.endif
+post-patch:
+ @${MV} ${WRKSRC}/gkrellm.h ${WRKSRC}/gkrellm.h.orig
+ @${SED} -e "s^/usr/share/^${PREFIX}/share/^" \
+ ${WRKSRC}/gkrellm.h.orig > ${WRKSRC}/gkrellm.h
+
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/gkrellm ${PREFIX}/bin/gkrellm
+ ${INSTALL_PROGRAM} ${WRKSRC}/gkrellm ${PREFIX}/bin/gkrellm
+ @${MKDIR} ${PREFIX}/include/gkrellm
+.for file in ${INCLUDES}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/gkrellm
+.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gkrellm
.for file in ${DOCS}
diff --git a/sysutils/gkrellm/distinfo b/sysutils/gkrellm/distinfo
index 9688c92eb7ac..45be6175fd9d 100644
--- a/sysutils/gkrellm/distinfo
+++ b/sysutils/gkrellm/distinfo
@@ -1 +1 @@
-MD5 (gkrellm-0.9.7.tar.gz) = 386c0b9ca59e110b05be61f6dbc77bb4
+MD5 (gkrellm-0.9.8.tar.gz) = 868cbc6fc3f2d46529e03720f78d73b8
diff --git a/sysutils/gkrellm/pkg-plist b/sysutils/gkrellm/pkg-plist
index f4a111486ea3..3d10787b48c9 100644
--- a/sysutils/gkrellm/pkg-plist
+++ b/sysutils/gkrellm/pkg-plist
@@ -1,4 +1,7 @@
bin/gkrellm
+include/gkrellm/gkrellm.h
+include/gkrellm/gkrellm_public_proto.h
+include/gkrellm/gkrellm_private_proto.h
share/doc/gkrellm/COPYRIGHT
share/doc/gkrellm/README
share/doc/gkrellm/Themes
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index dc542efb453c..565efb227d19 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gkrellm
-PORTVERSION= 0.9.7
+PORTVERSION= 0.9.8
CATEGORIES= sysutils ipv6
MASTER_SITES= http://web.wt.net/~billw/gkrellm/ \
http://people.FreeBSD.org/~ume/gkrellm/
@@ -21,6 +21,7 @@ GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+INCLUDES= gkrellm.h gkrellm_public_proto.h gkrellm_private_proto.h
DOCS= COPYRIGHT README Themes
# You should aware that GKrellM must be setuid root to obtain
@@ -44,8 +45,17 @@ BINMODE= 4111
BINMODE= 2111
.endif
+post-patch:
+ @${MV} ${WRKSRC}/gkrellm.h ${WRKSRC}/gkrellm.h.orig
+ @${SED} -e "s^/usr/share/^${PREFIX}/share/^" \
+ ${WRKSRC}/gkrellm.h.orig > ${WRKSRC}/gkrellm.h
+
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/gkrellm ${PREFIX}/bin/gkrellm
+ ${INSTALL_PROGRAM} ${WRKSRC}/gkrellm ${PREFIX}/bin/gkrellm
+ @${MKDIR} ${PREFIX}/include/gkrellm
+.for file in ${INCLUDES}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/gkrellm
+.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gkrellm
.for file in ${DOCS}
diff --git a/sysutils/gkrellm2/distinfo b/sysutils/gkrellm2/distinfo
index 9688c92eb7ac..45be6175fd9d 100644
--- a/sysutils/gkrellm2/distinfo
+++ b/sysutils/gkrellm2/distinfo
@@ -1 +1 @@
-MD5 (gkrellm-0.9.7.tar.gz) = 386c0b9ca59e110b05be61f6dbc77bb4
+MD5 (gkrellm-0.9.8.tar.gz) = 868cbc6fc3f2d46529e03720f78d73b8
diff --git a/sysutils/gkrellm2/pkg-plist b/sysutils/gkrellm2/pkg-plist
index f4a111486ea3..3d10787b48c9 100644
--- a/sysutils/gkrellm2/pkg-plist
+++ b/sysutils/gkrellm2/pkg-plist
@@ -1,4 +1,7 @@
bin/gkrellm
+include/gkrellm/gkrellm.h
+include/gkrellm/gkrellm_public_proto.h
+include/gkrellm/gkrellm_private_proto.h
share/doc/gkrellm/COPYRIGHT
share/doc/gkrellm/README
share/doc/gkrellm/Themes