- Switch to options helpers
Approved by: portmgr blanket
This commit is contained in:
parent
0b82e61ba9
commit
3906b652ef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395846
@ -27,20 +27,15 @@ PLIST_FILES= bin/wmbiff \
|
||||
%%DATADIR%%/skins/wmbiff-master-contrast.xpm \
|
||||
%%DATADIR%%/skins/wmbiff-master-led.xpm
|
||||
|
||||
.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} \
|
||||
GNUTLS_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
|
||||
libgnutls.so:${PORTSDIR}/security/gnutls
|
||||
GNUTLS_CONFIGURE_ON= --with-libgnutls-prefix=${LOCALBASE} \
|
||||
--with-libgcrypt-prefix=${LOCALBASE}
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-crypto
|
||||
.endif
|
||||
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.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user