diff options
author | mezz <mezz@FreeBSD.org> | 2007-08-15 05:29:05 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2007-08-15 05:29:05 +0800 |
commit | d9cd1b8d14e2e9b11d8cfcd6abd19d4c6e9b741d (patch) | |
tree | 8f29b7a5084acc4101cf04598227f36625af7dd8 | |
parent | 3e32dd8824daf14b1daaf6465451d0f12b6f74e4 (diff) | |
download | freebsd-ports-gnome-d9cd1b8d14e2e9b11d8cfcd6abd19d4c6e9b741d.tar.gz freebsd-ports-gnome-d9cd1b8d14e2e9b11d8cfcd6abd19d4c6e9b741d.tar.zst freebsd-ports-gnome-d9cd1b8d14e2e9b11d8cfcd6abd19d4c6e9b741d.zip |
Fix the plist. Need to remind to myself for I am using MC ports tree that has
share/gnome/ -> share/, but not in FreeBSD ports tree yet. While I am here,
correct the EXAMPLESDIR in patch that should be fit with plist. Bump the
PORTREVISION.
Reported by: krismail
-rw-r--r-- | sysutils/pyrenamer/Makefile | 5 | ||||
-rw-r--r-- | sysutils/pyrenamer/pkg-plist | 12 |
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 |