aboutsummaryrefslogtreecommitdiff
path: root/news/pan2
diff options
context:
space:
mode:
Diffstat (limited to 'news/pan2')
-rw-r--r--news/pan2/Makefile6
-rw-r--r--news/pan2/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/news/pan2/Makefile b/news/pan2/Makefile
index b2a1c97089c0..f32cbb41dc2f 100644
--- a/news/pan2/Makefile
+++ b/news/pan2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pan2
PORTVERSION= 0.14.2.91
+PORTREVISION= 1
CATEGORIES= news gnome
MASTER_SITES= http://pan.rebelbase.com/download/releases/${PORTVERSION}/SOURCE/ \
http://pan.rebelbase.com/download/obsolete/${PORTVERSION}/SOURCE/
@@ -23,6 +24,7 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gnometarget libxml2 gtk20
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -lgnuregex"
@@ -37,4 +39,8 @@ CONFIGURE_ARGS+= --disable-gtkspell
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell2
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|apps/Internet|applications|g' \
+ ${WRKSRC}/Makefile.in
+
.include <bsd.port.post.mk>
diff --git a/news/pan2/pkg-plist b/news/pan2/pkg-plist
index adce87d8b00e..bc80927dfa34 100644
--- a/news/pan2/pkg-plist
+++ b/news/pan2/pkg-plist
@@ -1,5 +1,5 @@
bin/pan
-share/gnome/apps/Internet/pan.desktop
+share/gnome/applications/pan.desktop
share/gnome/pixmaps/pan.png
share/locale/am/LC_MESSAGES/pan.mo
share/locale/az/LC_MESSAGES/pan.mo