freebsd-ports/mail/wmbiff/Makefile
Antoine Brodin 228ab58873 Change INSTALL_DATA to install with mode 644
Remove patches and hacks that were used to work around the previous
situation
This allows to stage more ports as a regular user

Differential Revision:	https://reviews.freebsd.org/D703
Reviewed by and discussed with:	bapt
With hat:	portmgr
2014-09-04 19:26:24 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Jim Mock <jim@FreeBSD.org>
# $FreeBSD$
PORTNAME= wmbiff
PORTVERSION= 0.4.27
PORTREVISION= 15
CATEGORIES= mail windowmaker afterstep
MASTER_SITES= SF
MAINTAINER= garga@FreeBSD.org
COMMENT= xbiff-like Window Maker dock app
LICENSE= GPLv2
OPTIONS_DEFINE= GNUTLS
USE_XORG= xpm
GNU_CONFIGURE= yes
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
PLIST_DIRS= %%DATADIR%%/skins \
%%DATADIR%% \
lib/wmbiff
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MGNUTLS}
LIB_DEPENDS+= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgnutls.so:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+= --with-libgnutls-prefix=${LOCALBASE} \
--with-libgcrypt-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+= --disable-crypto
.endif
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.post.mk>