mail/wmbiff: Fix build with GNUTLS

While here, stop installing debian script

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Renato Botelho 2021-04-08 08:34:56 -03:00
parent 439d1445b6
commit 97ea9a85b5
2 changed files with 9 additions and 5 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= wmbiff
PORTVERSION= 0.4.36
PORTREVISION= 1
CATEGORIES= mail windowmaker afterstep
MASTER_SITES= https://www.dockapps.net/download/
@ -10,10 +11,9 @@ COMMENT= xbiff-like Window Maker dock app
LICENSE= GPLv2
USES= shebangfix xorg
USES= pkgconfig xorg
USE_XORG= x11 xext xpm
SHEBANG_FILES= scripts/security.debian.rb
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
@ -23,10 +23,15 @@ OPTIONS_DEFAULT=GNUTLS
GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgnutls.so:security/gnutls \
libgpg-error.so:security/libgpg-error
GNUTLS_CONFIGURE_ON= --with-libgnutls-prefix=${LOCALBASE} \
--with-libgcrypt-prefix=${LOCALBASE}
GNUTLS_CONFIGURE_ON= --with-libgcrypt-prefix=${LOCALBASE}
GNUTLS_CONFIGURE_OFF= --disable-crypto
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS *=/ s/scripts//' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/security.debian.rb/ s/^/# /' \
${WRKSRC}/wmbiff/sample.wmbiffrc
post-install:
${INSTALL_DATA} ${WRKSRC}/wmbiff/sample.wmbiffrc ${STAGEDIR}${DATADIR}

View File

@ -1,5 +1,4 @@
bin/wmbiff
lib/wmbiff/security.debian.rb
man/man1/wmbiff.1.gz
man/man5/wmbiffrc.5.gz
%%DATADIR%%/sample.wmbiffrc