aboutsummaryrefslogtreecommitdiff
path: root/net/unison
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2014-11-18 12:05:44 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2014-11-18 12:05:44 +0000
commit8200a27ea262bf801f61eff4a8e7e8275453d351 (patch)
tree62ca3e7cb40465524052744fefded6dc0378af5d /net/unison
parentc1a0af7ac21394f1f6f99bfda016007730366a9b (diff)
downloadports-8200a27ea262bf801f61eff4a8e7e8275453d351.tar.gz
ports-8200a27ea262bf801f61eff4a8e7e8275453d351.zip
Notes
Diffstat (limited to 'net/unison')
-rw-r--r--net/unison/Makefile9
-rw-r--r--net/unison/pkg-plist4
2 files changed, 5 insertions, 8 deletions
diff --git a/net/unison/Makefile b/net/unison/Makefile
index 804a59cd3438..6329da961b9b 100644
--- a/net/unison/Makefile
+++ b/net/unison/Makefile
@@ -16,7 +16,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=""
CONFLICTS?= unison-devel-[0-9]* unison-nox11-[0-9]*
@@ -43,7 +43,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}.png
.else
MAKE_ARGS+= UISTYLE=text
PLIST_SUB+= TEXT="@comment "
@@ -72,10 +71,10 @@ post-install:
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${STAGEDIR}${DOCSDIR}
.if ${PORT_OPTIONS:MX11}
- @${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DESKTOPDIR}
- @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
- @${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
.endif
.include <bsd.port.mk>
diff --git a/net/unison/pkg-plist b/net/unison/pkg-plist
index 44596954921f..171abb4f89af 100644
--- a/net/unison/pkg-plist
+++ b/net/unison/pkg-plist
@@ -1,12 +1,10 @@
bin/unison
%%TEXT%%share/applications/unison.desktop
%%TEXT%%bin/unison-text
+%%TEXT%%share/pixmaps/unison.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 || :