summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-05-22 12:44:08 +0000
committersobomax <sobomax@FreeBSD.org>2002-05-22 12:44:08 +0000
commit55f1c7a8529b61f385be180e581f321d0595bef1 (patch)
tree2f8eb74fad00b28cd1115ae66adafec6a361ff1c
parent578ebd2205807328af27f3cb7d4ee4b60c753904 (diff)
downloadFreeBSD-ports-55f1c7a8529b61f385be180e581f321d0595bef1.zip
FreeBSD-ports-55f1c7a8529b61f385be180e581f321d0595bef1.tar.gz
Unbroke on bento and make it compliant with GNOME hier.
PR: 34361 Submitted by: maintainer, sobomax
-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 b650ff0..787ffe1 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 10639c5..9d8c864 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
OpenPOWER on IntegriCloud