summaryrefslogtreecommitdiff
path: root/net/unison248/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/unison248/Makefile')
-rw-r--r--net/unison248/Makefile49
1 files changed, 26 insertions, 23 deletions
diff --git a/net/unison248/Makefile b/net/unison248/Makefile
index e376622807b5..fb0910436386 100644
--- a/net/unison248/Makefile
+++ b/net/unison248/Makefile
@@ -20,47 +20,50 @@ VERSIONSUFFIX= 248
nox11_PKGNAMESUFFIX= ${VERSIONSUFFIX}-nox11
nox11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX}
-x11_PKGNAMESUFFIX= ${VERSIONSUFFIX}
-x11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX}-nox11
-x11_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 \
- icotool:graphics/icoutils
+x11_PKGNAMESUFFIX= ${VERSIONSUFFIX}
+x11_BUILD_DEPENDS= icotool:graphics/icoutils \
+ lablgtk2:x11-toolkits/ocaml-lablgtk2
x11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
+x11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX}-nox11
-PLIST_SUB= PORTVERSION=${PORTVERSION} VERSIONSUFFIX=${VERSIONSUFFIX}
USES= gmake localbase ocaml:build
-WRKSRC_SUBDIR= src
-CONFLICTS= unison-devel
-MAKE_ENV= CLIBS="${LIBS:S/^-/-ccopt -/}" COFLAGS="${CFLAGS:C/ *(-[^ ]*) */ -ccopt \"\1 \"/gW}"
-MAKE_JOBS_UNSAFE= yes
-ALL_TARGET= unison all
-
USE_GITHUB= yes
GH_ACCOUNT= bcpierce00
+MAKE_ENV= CLIBS="${LIBS:S/^-/-ccopt -/}" \
+ COFLAGS="${CFLAGS:C/ *(-[^ ]*) */ -ccopt \"\1 \"/gW}"
+MAKE_JOBS_UNSAFE= yes
+ALL_TARGET= unison all
+
DOCS= BUGS.txt NEWS README
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
-OPTIONS_DEFINE= DOCS FSMONITOR
-OPTIONS_DEFAULT?= FSMONITOR
+WRKSRC_SUBDIR= src
-FSMONITOR_DESC= Compile and install fsmonitor plugin
+PLIST_SUB= PORTVERSION=${PORTVERSION} \
+ VERSIONSUFFIX=${VERSIONSUFFIX}
+OPTIONS_DEFINE= DOCS FSMONITOR
+OPTIONS_DEFAULT= FSMONITOR
OPTIONS_SUB= YES
+FSMONITOR_DESC= Compile and install fsmonitor plugin
+
FSMONITOR_LIB_DEPENDS= libinotify.so:devel/libinotify
.if ${FLAVOR} == nox11
-MAKE_ARGS= UISTYLE=text
-PKGMESSAGE= ${PKGDIR}/pkg-message.nox11
-PLIST_SUB+= X11="@comment "
+MAKE_ARGS= UISTYLE=text
+PKGMESSAGE= ${PKGDIR}/pkg-message.nox11
+PLIST_SUB+= X11="@comment "
.else
-MAKE_ARGS= UISTYLE=gtk2
-SUB_FILES= ${PORTNAME}.desktop
-SUB_LIST= PORTVERSION=${PORTVERSION} VERSIONSUFFIX=${VERSIONSUFFIX}
-USE_GNOME+= atk cairo gdkpixbuf glib20 gtk20 pango
-USES+= gettext-runtime gnome
-PLIST_SUB+= X11=""
+MAKE_ARGS= UISTYLE=gtk2
+SUB_FILES= ${PORTNAME}.desktop
+SUB_LIST= PORTVERSION=${PORTVERSION} \
+ VERSIONSUFFIX=${VERSIONSUFFIX}
+USE_GNOME+= atk cairo gdkpixbuf glib20 gtk20 pango
+USES+= gettext-runtime gnome
+PLIST_SUB+= X11=""
.endif
.include <bsd.port.options.mk>