aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pyrenamer
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-08-14 21:29:05 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-08-14 21:29:05 +0000
commit476f16f680f52a824034eb054d48ace1a67efc9c (patch)
tree0dc279d386a7d9b8b28bfc46bbd6c06096f57cef /sysutils/pyrenamer
parentb7e61f78915c51ceb9251b66efa9b8b00ee93578 (diff)
downloadports-476f16f680f52a824034eb054d48ace1a67efc9c.tar.gz
ports-476f16f680f52a824034eb054d48ace1a67efc9c.zip
Notes
Diffstat (limited to 'sysutils/pyrenamer')
-rw-r--r--sysutils/pyrenamer/Makefile5
-rw-r--r--sysutils/pyrenamer/pkg-plist12
2 files changed, 8 insertions, 9 deletions
diff --git a/sysutils/pyrenamer/Makefile b/sysutils/pyrenamer/Makefile
index 0928354e53d7..3fc4ff781548 100644
--- a/sysutils/pyrenamer/Makefile
+++ b/sysutils/pyrenamer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pyrenamer
DISTVERSION= 0.4.1
+PORTREVISION= 1
CATEGORIES= sysutils python gnome
MASTER_SITES= http://www.infinicode.org/code/${PORTNAME}/
@@ -29,10 +30,8 @@ MAN1= pyrenamer.1
GCONF_SCHEMAS= pyrenamer.schemas
post-patch:
- @${REINPLACE_CMD} -e 's|[(]datadir[)]/doc|(prefix)/share/examples|g' \
+ @${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/doc/pyrenamer|${EXAMPLESDIR}|g' \
${WRKSRC}/doc/Makefile.in
- @${REINPLACE_CMD} -e 's|[(]datadir[)]/applications|(prefix)/share/applications|g' \
- ${WRKSRC}/data/Makefile.in
.ifndef (NOPORTDOCS)
post-install:
diff --git a/sysutils/pyrenamer/pkg-plist b/sysutils/pyrenamer/pkg-plist
index 0a84d06b69de..d47ce3ef9c4a 100644
--- a/sysutils/pyrenamer/pkg-plist
+++ b/sysutils/pyrenamer/pkg-plist
@@ -23,7 +23,7 @@ bin/pyrenamer
%%PYTHON_SITELIBDIR%%/pyrenamer/treefilebrowser.py
%%PYTHON_SITELIBDIR%%/pyrenamer/treefilebrowser.pyc
%%PYTHON_SITELIBDIR%%/pyrenamer/treefilebrowser.pyo
-share/applications/pyrenamer.desktop
+share/gnome/applications/pyrenamer.desktop
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
@@ -32,11 +32,11 @@ share/applications/pyrenamer.desktop
%%EXAMPLESDIR%%/treefilebrowser_example.py
share/locale/en/LC_MESSAGES/pyrenamer.mo
share/locale/es/LC_MESSAGES/pyrenamer.mo
-share/pixmaps/pyrenamer.png
-%%DATADIR%%/pyrenamer.glade
-%%DATADIR%%/pyrenamer.png
-%%DATADIR%%/pyrenamer.svg
-@dirrm %%DATADIR%%
+share/gnome/pixmaps/pyrenamer.png
+share/gnome/pyrenamer/pyrenamer.glade
+share/gnome/pyrenamer/pyrenamer.png
+share/gnome/pyrenamer/pyrenamer.svg
+@dirrm share/gnome/pyrenamer
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry share/applications