aboutsummaryrefslogtreecommitdiff
path: root/net/unison232
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2013-11-07 20:01:15 +0000
committerMatthias Andree <mandree@FreeBSD.org>2013-11-07 20:01:15 +0000
commit5513179e8ba0f593eb15f6e5404af889190237ae (patch)
tree9636953b14bb414c68eccf06d7e2d8ef7c8b5bc4 /net/unison232
parentf270933bd10ba86d8be40819e15b3f360dab1eac (diff)
Notes
Diffstat (limited to 'net/unison232')
-rw-r--r--net/unison232/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/net/unison232/Makefile b/net/unison232/Makefile
index 76cf6f4fecd9..1f0a8274003f 100644
--- a/net/unison232/Makefile
+++ b/net/unison232/Makefile
@@ -3,7 +3,7 @@
PORTNAME= unison
PORTVERSION= 2.32.52
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/
PKGNAMESUFFIX= 232
@@ -24,17 +24,15 @@ MAKE_ARGS= CFLAGS=""
MAKE_JOBS_UNSAFE= yes
-OPTIONS_DEFINE= DOCS X11
-OPTIONS_DEFAULT= DOCS X11
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
DOCS= BUGS.txt NEWS README
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
EXTRA_DOCS= ${PORTNAME}-${PORTVERSION}-manual.html \
${PORTNAME}-${PORTVERSION}-manual.pdf ${PORTNAME}-${PORTVERSION}-manual.ps
-.endif
+
+OPTIONS_DEFINE= DOCS X11
+OPTIONS_DEFAULT= DOCS X11
+
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
MAKE_ARGS+= UISTYLE=gtk2
@@ -45,7 +43,6 @@ 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
PLIST_FILES+= share/pixmaps/${PORTNAME}${PKGNAMESUFFIX}.png
.else
@@ -78,7 +75,6 @@ post-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-text ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}-text
${MKDIR} ${STAGEDIR}${DESKTOPDIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}${PKGNAMESUFFIX}.desktop
- -update-desktop-database > /dev/null
@${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}${PKGNAMESUFFIX}.png
.endif