mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
784e4c52e1
- Use USE_GNOME= ltverhack to correct the library version number to what the author intended. This effectively rolls the version number backwards, but should prevent future unneccesary version bumps. - Support staging - Use options helpers - Use new LIB_DEPENDS syntax - Bump PORTREVISION on dependent ports
70 lines
1.6 KiB
Makefile
70 lines
1.6 KiB
Makefile
# Created by: Dave McKay <dave@mu.org>
|
|
# $FreeBSD$
|
|
# $MCom: ports/security/seahorse/Makefile,v 1.109 2012/09/01 23:02:12 mezz Exp $
|
|
|
|
PORTNAME= seahorse
|
|
PORTVERSION= 2.32.0
|
|
PORTREVISION= 10
|
|
CATEGORIES= security gnome
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome2
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= GNOME application for managing encryption keys (PGP, SSH)
|
|
|
|
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
|
RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
|
LIB_DEPENDS= gpgme:${PORTSDIR}/security/gpgme \
|
|
dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
|
|
gcr:${PORTSDIR}/security/gnome-keyring \
|
|
gcrypt:${PORTSDIR}/security/libgcrypt \
|
|
soup-2.4:${PORTSDIR}/devel/libsoup
|
|
|
|
CONFLICTS= libcryptui-3.[0-9]* seahorse-3.[0-9]*
|
|
|
|
USE_XORG= sm
|
|
USE_LDCONFIG= yes
|
|
USE_BZIP2= yes
|
|
USES= pathfix gettext gmake pkgconfig
|
|
USE_GNOME= intlhack gnomeprefix gconf2 gnomedocutils
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_OMF= yes
|
|
INSTALLS_ICONS= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --enable-introspection=no
|
|
|
|
GCONF_SCHEMAS= seahorse.schemas
|
|
MAN1= seahorse.1 seahorse-daemon.1
|
|
|
|
OPTIONS_DEFINE= LDAP NOTIFY MDNS
|
|
OPTIONS_DEFAULT=LDAP NOTIFY MDNS
|
|
MDNS_DESC= mDNS key sharing
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MLDAP}
|
|
USE_OPENLDAP= yes
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-ldap
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MNOTIFY}
|
|
LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-libnotify
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MMDNS}
|
|
LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-sharing
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|" == "|" = "|g' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|