1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Add USES desktop-file-utils

- Remove improper use of PLIST_FILES
- Cleanup plist

Approved by:	mandree@ (maintainer, implicit)
This commit is contained in:
Guido Falsi 2014-11-18 12:07:17 +00:00
parent 8200a27ea2
commit 13bd256c80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372716
2 changed files with 2 additions and 5 deletions

View File

@ -18,7 +18,7 @@ COMMENT= User-level file synchronization tool
LICENSE= GPLv3
PLIST_SUB= PORTVERSION=${PORTVERSION}
USES= gmake
USES= desktop-file-utils gmake
WANT_GNOME= yes
MAKE_ARGS= CFLAGS=""
@ -44,7 +44,6 @@ RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
PATCH_DEPENDS+= ${BUILD_DEPENDS}
CONFLICTS+= ocaml-nox11*
SUB_FILES+= ${PORTNAME}.desktop
PLIST_FILES+= share/pixmaps/${PORTNAME}${PKGNAMESUFFIX}.png
.else
MAKE_ARGS+= UISTYLE=text
PLIST_SUB+= TEXT="@comment "

View File

@ -1,12 +1,10 @@
bin/unison232
%%TEXT%%share/applications/unison232.desktop
%%TEXT%%bin/unison232-text
%%TEXT%%share/pixmaps/unison232.png
%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.html
%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.pdf
%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.ps
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%TEXT%%@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || :
%%TEXT%%@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || :