aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gnome-schedule
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-07-04 03:41:34 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-07-04 03:41:34 +0000
commit215bdef5a9b43922bd0e7514fd16713599f6d7b8 (patch)
tree175c3ce5e58a657e61fe25936bb19075b0b64061 /sysutils/gnome-schedule
parentf431878e426ec6a4cf9f2bcb8cb1cca81238737d (diff)
downloadports-215bdef5a9b43922bd0e7514fd16713599f6d7b8.tar.gz
ports-215bdef5a9b43922bd0e7514fd16713599f6d7b8.zip
Notes
Diffstat (limited to 'sysutils/gnome-schedule')
-rw-r--r--sysutils/gnome-schedule/Makefile9
-rw-r--r--sysutils/gnome-schedule/pkg-plist4
2 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/gnome-schedule/Makefile b/sysutils/gnome-schedule/Makefile
index 27645f1f8aba..a8b59bc64a05 100644
--- a/sysutils/gnome-schedule/Makefile
+++ b/sysutils/gnome-schedule/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gnome-schedule
PORTVERSION= 0.9.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= sysutils
MASTER_SITES= SF
@@ -24,15 +24,12 @@ USE_GNOME= gnomeprefix pygnome2
GNU_CONFIGURE= yes
DATADIR= ${PREFIX}/share
-PORTDOCS= addingandediting.html index.html
-
.include <bsd.port.pre.mk>
post-patch:
.if defined(NOPORTDOCS)
-.for f in ${PORTDOCS}
- @${REINPLACE_CMD} -e 's|${f}||' ${WRKSRC}/doc/Makefile.in
-.endfor
+ @${REINPLACE_CMD} -e 's|pixmaps doc po|pixmaps po|g' \
+ ${WRKSRC}/Makefile.in
.else
@${REINPLACE_CMD} -e 's|gnome-schedule-$$(VERSION)|gnome-schedule|' \
${WRKSRC}/doc/Makefile.in
diff --git a/sysutils/gnome-schedule/pkg-plist b/sysutils/gnome-schedule/pkg-plist
index e953c431cdf6..b96d55856bfb 100644
--- a/sysutils/gnome-schedule/pkg-plist
+++ b/sysutils/gnome-schedule/pkg-plist
@@ -1,5 +1,7 @@
bin/gnome-schedule
%%DATADIR%%/applications/gnome-schedule.desktop
+%%PORTDOCS%%%%DOCSDIR%%/addingandediting.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
%%DATADIR%%/gnome-schedule/addWindow.py
%%DATADIR%%/gnome-schedule/addWindow.pyc
%%DATADIR%%/gnome-schedule/addWindow.pyo
@@ -39,3 +41,5 @@ bin/gnome-schedule
%%DATADIR%%/gnome-schedule/setuserWindow.pyo
%%DATADIR%%/pixmaps/gnome-schedule.png
@dirrm %%DATADIR%%/gnome-schedule
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry %%DATADIR%%/applications