Clean up port's makefile

- Put the variables in order & improve readability
- Set LICENSE_FILE correctly

Approved by:	portmgr blanket
This commit is contained in:
Mateusz Piotrowski 2020-11-05 15:58:38 +00:00
parent 00417e7d2f
commit 47b6c6c297
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554136

View File

@ -12,50 +12,49 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME application for managing encryption keys (PGP, SSH)
LICENSE= GPLv2
LICENSE_FILES= ${FILES}/COPYING
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gnupg>=2.1.4:security/gnupg \
valac:lang/vala \
itstool:textproc/itstool
LIB_DEPENDS= libgpgme.so:security/gpgme \
libgcr-base-3.so:security/gcr \
libsecret-1.so:security/libsecret \
libsoup-2.4.so:devel/libsoup \
itstool:textproc/itstool \
valac:lang/vala
LIB_DEPENDS= libgcr-base-3.so:security/gcr \
libgpgme.so:security/gpgme \
libhandy-0.0.so:x11-toolkits/libhandy0 \
libpwquality.so:security/libpwquality \
libhandy-0.0.so:x11-toolkits/libhandy0
libsecret-1.so:security/libsecret \
libsoup-2.4.so:devel/libsoup
RUN_DEPENDS= gnupg>=2.1.4:security/gnupg
PORTSCOUT= limitw:1,even
USE_XORG= sm
USE_LDCONFIG= yes
USES= gettext gnome localbase:ldflags meson pkgconfig \
python:3.5+,build tar:xz xorg
USE_CSTD= c99
USE_GNOME= gtk30
INSTALLS_ICONS= yes
GLIB_SCHEMAS= org.gnome.seahorse.gschema.xml \
org.gnome.seahorse.manager.gschema.xml \
org.gnome.seahorse.window.gschema.xml
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
USE_XORG= sm
MESON_ARGS= -Dcheck-compatible-gpg=false \
-Dpgp-support=true \
-Dpkcs11-support=true \
-Dkeyservers-support=true \
-Dhkp-support=true \
-Dhkp-support=true
OPTIONS_SUB= yes
OPTIONS_DEFINE= LDAP AVAHI
OPTIONS_DEFAULT=LDAP AVAHI
LDAP_MESON_TRUE= ldap-support
LDAP_USE= OPENLDAP=yes
LDAP_DESC= LDAP keyserver support (for gpg)
AVAHI_DESC= DNS-SD key sharing
AVAHI_MESON_TRUE= key-sharing
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app
-Dkeyservers-support=true \
-Dpgp-support=true \
-Dpkcs11-support=true
BINARY_ALIAS= python3=${PYTHON_CMD}
PORTSCOUT= limitw:1,even
OPTIONS_DEFINE= AVAHI LDAP
OPTIONS_DEFAULT= AVAHI LDAP
OPTIONS_SUB= yes
AVAHI_DESC= DNS-SD key sharing
LDAP_DESC= LDAP keyserver support (for gpg)
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app
AVAHI_MESON_TRUE= key-sharing
LDAP_USE= OPENLDAP=yes
LDAP_MESON_TRUE= ldap-support
.include <bsd.port.mk>