Fix the plist when NOPORTDOCS is defined, bump the PORTREVISION.
Reported by: QA Tindy
This commit is contained in:
parent
f431878e42
commit
215bdef5a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216288
2 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue