Add missing dependencies. misc cleanups

PR:		250296
Submitted by:   Samy Mahmoudi
Approved by:	maintainer
This commit is contained in:
Tilman Keskinoz 2020-10-17 20:06:05 +00:00
parent c4844b9154
commit cd99b678bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552607

View file

@ -3,6 +3,7 @@
PORTNAME= wifimgr
PORTVERSION= 1.13
PORTREVISION= 1
CATEGORIES= net-mgmt sysutils
MASTER_SITES= http://opal.com/freebsd/ports/net-mgmt/wifimgr/ \
LOCAL/ehaupt
@ -13,21 +14,22 @@ COMMENT= WiFi Networks Manager
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= desktop-file-utils gnome pkgconfig tar:bzip2 xorg
USE_XORG= x11
USE_GNOME= gtk20
USE_GNOME= cairo gtk20
INSTALLS_ICONS= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext pkgconfig
NLS_USES= gettext-runtime gettext-tools
NLS_CFLAGS_OFF= -DWITHOUT_NLS
NLS_MAKE_ENV_OFF= WITHOUT_NLS=yes
post-patch:
@${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile
@${REINPLACE_CMD} -e '/conf_/s,^struct conflist,extern &,' \
${WRKSRC}/src/wifimgr.h
.include <bsd.port.mk>