diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2012-04-12 21:11:11 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2012-04-12 21:11:11 +0000 |
commit | 4118c63327e7e45b76f3a3887d4385d31b49d63e (patch) | |
tree | 1062a6a9fa1b7af15159171769eef2cd0cb352e6 /net/unison-devel/Makefile | |
parent | 13a1c4535079a1590c34f8144dfa9369bfe4dda5 (diff) |
Notes
Diffstat (limited to 'net/unison-devel/Makefile')
-rw-r--r-- | net/unison-devel/Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/net/unison-devel/Makefile b/net/unison-devel/Makefile index 5c6ce2f5d60c..3c1afd7c050b 100644 --- a/net/unison-devel/Makefile +++ b/net/unison-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= unison -PORTVERSION= 2.40.61 +PORTVERSION= 2.45.4 CATEGORIES= net MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/ PKGNAMESUFFIX= -devel @@ -17,11 +17,11 @@ EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz MAINTAINER= mad@madpilot.net COMMENT= A user-level file synchronization tool -IGNORE= No devel release available at present. \ - Install net/unison which is the latest stable version. +LICENSE= GPLv3 PLIST_SUB= PORTVERSION=${PORTVERSION} USE_GMAKE= yes +WANT_GNOME= yes MAKE_ARGS= CFLAGS="" CONFLICTS= unison-[0-9]* unison-nox11-[0-9]* @@ -48,6 +48,8 @@ BUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml \ RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 PATCH_DEPENDS+= ${BUILD_DEPENDS} CONFLICTS+= ocaml-nox11* +USE_GNOME= desktopfileutils +SUB_FILES+= ${PORTNAME}.desktop .else MAKE_ARGS+= UISTYLE=text PLIST_SUB+= TEXT="@comment " @@ -74,6 +76,14 @@ post-install: cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${DOCSDIR} .endif +.if defined(WITH_GTK2) + @${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin + @${MKDIR} ${DESKTOPDIR} + @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR} + @-update-desktop-database > /dev/null @${CAT} ${PKGMESSAGE} +.else + @${CAT} ${PKGMESSAGE}.nox11 +.endif .include <bsd.port.post.mk> |