aboutsummaryrefslogtreecommitdiffstats
path: root/palm/synce-trayicon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'palm/synce-trayicon/Makefile')
-rw-r--r--palm/synce-trayicon/Makefile25
1 files changed, 21 insertions, 4 deletions
diff --git a/palm/synce-trayicon/Makefile b/palm/synce-trayicon/Makefile
index 3917e8f8d9a..4be66b4c894 100644
--- a/palm/synce-trayicon/Makefile
+++ b/palm/synce-trayicon/Makefile
@@ -5,16 +5,19 @@
# $FreeBSD$
PORTNAME= synce-trayicon
-PORTVERSION= 0.11
+PORTVERSION= 0.12
CATEGORIES= palm
MASTER_SITES= SF
MASTER_SITE_SUBDIR= synce
MAINTAINER= ports@logvinov.com
-COMMENT= GNOME tray icon showing battery and storage status of a WinCE device
+COMMENT= GNOME system tray app for monitoring connected WinCE based devices
LIB_DEPENDS= rra.0:${PORTSDIR}/palm/synce-librra \
- gtop-2.0.7:${PORTSDIR}/devel/libgtop
+ gtop-2.0.7:${PORTSDIR}/devel/libgtop \
+ unshield.0:${PORTSDIR}/archivers/unshield \
+ orange.0:${PORTSDIR}/archivers/liborange
+RUN_DEPENDS= ${LOCALBASE}/libexec/gvfsd-synce:${PORTSDIR}/palm/synce-gvfs
OPTIONS= NOTIFY "Enable libnotify support" on
@@ -24,7 +27,7 @@ USE_GETTEXT= yes
USE_GNOME= gnomeprefix gnomehack gnometarget libgnomeui
INSTALLS_ICONS= yes
GCONF_SCHEMAS= ${PORTNAME}.schemas
-LDFLAGS+= -L${LOCALBASE}/lib -lsynce
+LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
@@ -44,6 +47,20 @@ post-patch:
@${REINPLACE_CMD} -e 's|enable_notify=yes|enable_notify=no|' ${WRKSRC}/configure
.endif
+pre-configure:
+ @if [ -z "`${GREP} libsynce ${LOCALBASE}/libdata/pkgconfig/liborange.pc`" ]; then \
+ ${ECHO_MSG} ; \
+ ${ECHO_MSG} "${PKGNAME} requires archivers/liborange built with LIBSYNCE option ON" ; \
+ ${ECHO_MSG} ; \
+ ${FALSE}; \
+ fi
+ @if [ -z "`${GREP} libunshield ${LOCALBASE}/libdata/pkgconfig/liborange.pc`" ]; then \
+ ${ECHO_MSG} ; \
+ ${ECHO_MSG} "${PKGNAME} requires archivers/liborange built with LIBUNSHIELD option ON" ; \
+ ${ECHO_MSG} ; \
+ ${FALSE}; \
+ fi
+
post-install:
@${CAT} ${PKGMESSAGE}