aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-05-22 12:44:08 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-05-22 12:44:08 +0000
commitdbf0b411bec2c02cc8ad89c7fe35d4c0bc6954eb (patch)
tree1d41f0fb6436646e8aa32bb2cfc210ea7a5ba400
parentb50512060d85f93971785af6b9c97d5c07fc7e5b (diff)
downloadports-dbf0b411bec2c02cc8ad89c7fe35d4c0bc6954eb.tar.gz
ports-dbf0b411bec2c02cc8ad89c7fe35d4c0bc6954eb.zip
Notes
-rw-r--r--news/glitter/Makefile10
-rw-r--r--news/glitter/pkg-plist22
2 files changed, 29 insertions, 3 deletions
diff --git a/news/glitter/Makefile b/news/glitter/Makefile
index b650ff070fca..787ffe18d623 100644
--- a/news/glitter/Makefile
+++ b/news/glitter/Makefile
@@ -7,6 +7,7 @@
PORTNAME= glitter
PORTVERSION= 1.0.b.1
+PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= http://mews.org.uk/glitter/\
ftp://ftp.gregnet.net/pub/FreeBSD/ports/news/glitter/
@@ -14,8 +15,6 @@ DISTNAME= ${PORTNAME}-1.0beta1
MAINTAINER= greg@gregnet.net
-BROKEN= "Does not package correctly"
-
USE_X_PREFIX= yes
USE_GTK= yes
WANT_GNOME= yes
@@ -28,4 +27,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
USE_GNOME= yes
.endif
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
.include <bsd.port.mk>
diff --git a/news/glitter/pkg-plist b/news/glitter/pkg-plist
index 10639c589acd..9d8c8640322c 100644
--- a/news/glitter/pkg-plist
+++ b/news/glitter/pkg-plist
@@ -1,3 +1,23 @@
-bin/glitter
bin/gary
+bin/glitter
share/gnome/apps/Internet/glitter.desktop
+share/gnome/help/glitter/C/desc.html
+share/gnome/help/glitter/C/dire.html
+share/gnome/help/glitter/C/docbook.css
+share/gnome/help/glitter/C/glitter.html
+share/gnome/help/glitter/C/hints.html
+share/gnome/help/glitter/C/hooks.html
+share/gnome/help/glitter/C/intro.html
+share/gnome/help/glitter/C/ln19.html
+share/gnome/help/glitter/C/news.html
+share/gnome/help/glitter/C/pref.html
+share/gnome/help/glitter/C/sample.html
+share/gnome/help/glitter/C/start.html
+share/gnome/help/glitter/C/topic.dat
+share/gnome/pixmaps/anim.png
+share/gnome/pixmaps/anim.xpm
+share/gnome/pixmaps/gwatermark.xpm
+share/gnome/pixmaps/x.xpm
+@dirrm share/gnome/help/glitter/C/images
+@dirrm share/gnome/help/glitter/C
+@dirrm share/gnome/help/glitter