d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# New ports collection makefile for: wmbiff
|
|
# Date created: 19 Nov 1999
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wmbiff
|
|
PORTVERSION= 0.4.27
|
|
PORTREVISION= 4
|
|
CATEGORIES= mail windowmaker afterstep
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An xbiff-like Window Maker dock app
|
|
|
|
OPTIONS= GNUTLS "Support for SSL" off
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_XPM= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= wmbiff.1
|
|
MAN5= wmbiffrc.5
|
|
PLIST_FILES= bin/wmbiff \
|
|
lib/wmbiff/security.debian.rb \
|
|
%%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 defined(WITH_GNUTLS)
|
|
LIB_DEPENDS+= gcrypt.13:${PORTSDIR}/security/libgcrypt \
|
|
gnutls.15:${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} -m 644 ${WRKSRC}/wmbiff/sample.wmbiffrc ${DATADIR}
|
|
|
|
.include <bsd.port.post.mk>
|