mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
# New ports collection makefile for: synce-trayicon
|
|
# Date created: 28 August 2003
|
|
# Whom: Sam Lawrance <boris@brooknet.com.au>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= synce-trayicon
|
|
PORTVERSION= 0.14
|
|
PORTREVISION= 4
|
|
CATEGORIES= palm
|
|
MASTER_SITES= SF/synce/SynCE-GNOME/${PORTVERSION}
|
|
|
|
MAINTAINER= avl@FreeBSD.org
|
|
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 \
|
|
unshield.0:${PORTSDIR}/archivers/unshield \
|
|
orange.0:${PORTSDIR}/archivers/liborange \
|
|
notify.4:${PORTSDIR}/devel/libnotify
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/gvfsd-synce:${PORTSDIR}/palm/synce-gvfs \
|
|
${LOCALBASE}/libexec/notification-daemon:${PORTSDIR}/deskutils/notification-daemon
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
USE_GNOME= gnomeprefix gnomehack libgnomeui desktopfileutils
|
|
INSTALLS_ICONS= yes
|
|
GCONF_SCHEMAS= ${PORTNAME}.schemas
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
SUB_FILES= pkg-message
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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:
|
|
@-update-desktop-database
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|