mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
7afa609aeb
Approved by: makc (mentor)
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
# New ports collection makefile for: gpa
|
|
# Date created: 16 August 2000
|
|
# Whom: Clive Lin <clive@CirX.ORG>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gpa
|
|
PORTVERSION= 0.9.3
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
|
MASTER_SITE_SUBDIR= gpa
|
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
|
COMMENT= GTK2+ frontend for the GNU Privacy Guard
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= assuan:${PORTSDIR}/security/libassuan \
|
|
gpgme:${PORTSDIR}/security/gpgme
|
|
BUILD_DEPENDS= gpgv2:${PORTSDIR}/security/gnupg
|
|
RUN_DEPENDS= gpgv2:${PORTSDIR}/security/gnupg
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_PKGCONFIG= build
|
|
USE_GNOME= gtk20
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= GPGKEYS_LDAP="${LOCALBASE}/libexec/gpg2keys_ldap" \
|
|
GPG="${LOCALBASE}/bin/gpgv2"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
MAN1= gpa.1
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !exists(${LOCALBASE}/bin/gpgsm)
|
|
IGNORE= requires gpgsm. (Re)Install security/gnupg with the GPGSM option ON, then rebuild security/gpgme if installed
|
|
.endif
|
|
|
|
.if empty(PORT_OPTIONS:MNLS)
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|