1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/mail/wmbiff/Makefile
Renato Botelho 5b97b29b26 Fix build with clang11 and other tweaks
- Add -fcommon for now to fix build with clang11
- Pet portlint
- Add missing dependencies to USE_XORG
- Bump PORTREVISION
2020-08-28 18:42:06 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Jim Mock <jim@FreeBSD.org>
# $FreeBSD$
PORTNAME= wmbiff
PORTVERSION= 0.4.27
PORTREVISION= 19
CATEGORIES= mail windowmaker afterstep
MASTER_SITES= SF
MAINTAINER= garga@FreeBSD.org
COMMENT= xbiff-like Window Maker dock app
LICENSE= GPLv2
USES= shebangfix xorg
OPTIONS_DEFINE= GNUTLS
SHEBANG_FILES= scripts/security.debian.rb
USE_XORG= x11 xext xpm
GNU_CONFIGURE= yes
# Temporary fix to build with clang11
CFLAGS+= -fcommon
PLIST_FILES= bin/wmbiff \
lib/wmbiff/security.debian.rb \
man/man1/wmbiff.1.gz \
man/man5/wmbiffrc.5.gz \
${DATADIR}/sample.wmbiffrc \
${DATADIR}/skins/wmbiff-master-contrast.xpm \
${DATADIR}/skins/wmbiff-master-led.xpm
GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_ON= --with-libgnutls-prefix=${LOCALBASE} \
--with-libgcrypt-prefix=${LOCALBASE}
GNUTLS_CONFIGURE_OFF= --disable-crypto
post-install:
@${ECHO_MSG} "===> Installing sample.wmbiffrc to ${DATADIR}"
@${ECHO_MSG} "===> Modify it to suit your needs and copy to ~/.wmbiffrc"
${INSTALL_DATA} ${WRKSRC}/wmbiff/sample.wmbiffrc ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>