summaryrefslogtreecommitdiff
path: root/net/unison-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/unison-devel/Makefile')
-rw-r--r--net/unison-devel/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/net/unison-devel/Makefile b/net/unison-devel/Makefile
index fecfe3fe929e..daba15dae461 100644
--- a/net/unison-devel/Makefile
+++ b/net/unison-devel/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: unison
-# Date created: 4 October 2000
-# Whom: Dan Pelleg <dpelleg+unison@cs.cmu.edu>
-#
+# Created by: Dan Pelleg <dpelleg+unison@cs.cmu.edu>
# $FreeBSD$
-#
PORTNAME= unison
PORTVERSION= 2.45.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/
PKGNAMESUFFIX= -devel
@@ -16,7 +12,7 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz
MAINTAINER= madpilot@FreeBSD.org
-COMMENT= A user-level file synchronization tool
+COMMENT= User-level file synchronization tool
LICENSE= GPLv3
@@ -44,12 +40,14 @@ EXTRA_DOCS= unison-${PORTVERSION}-manual.html \
MAKE_ARGS+= UISTYLE=gtk2
PLIST_SUB+= TEXT=""
BUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml \
- lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
+ lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 \
+ icotool:${PORTSDIR}/graphics/icoutils
RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
PATCH_DEPENDS+= ${BUILD_DEPENDS}
CONFLICTS+= ocaml-nox11*
USE_GNOME= desktopfileutils
SUB_FILES+= ${PORTNAME}.desktop
+PLIST_FILES+= share/pixmaps/${PORTNAME}.png
.else
MAKE_ARGS+= UISTYLE=text
PLIST_SUB+= TEXT="@comment "
@@ -62,6 +60,7 @@ post-build:
@${ECHO} Building text-only version
@${ECHO} ${WRKSRC}
@${GMAKE} -C ${WRKSRC} UISTYLE=text NAME=unison-text
+ @cd ${WRKSRC}/win32rc && ${LOCALBASE}/bin/icotool -x U.ico
.endif
do-install:
@@ -81,6 +80,7 @@ post-install:
@${MKDIR} ${DESKTOPDIR}
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR}
@-update-desktop-database > /dev/null
+ @${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
@${CAT} ${PKGMESSAGE}
.else
@${CAT} ${PKGMESSAGE}.nox11