1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build on -current, and fix some shebangs.

This commit is contained in:
Adam Weinberger 2014-08-15 21:29:39 +00:00
parent 73729f0b20
commit 104eb5d9be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365055

View File

@ -13,7 +13,7 @@ COMMENT= Text mode menu- and window-driven IM interface
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
USES= iconv gmake pkgconfig
USES= iconv gmake pkgconfig shebangfix
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@ -22,6 +22,11 @@ CONFIGURE_ARGS= --with-ssl --with-openssl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFLICTS= centericq-[0-9]* centerim-devel-[0-9]*
SHEBANG_FILES= misc/cimformathistory misc/cimextracthistory.pl
SHEBANG_LANG= gawk
gawk_OLD_CMD= /bin/gawk
gawk_CMD= /usr/bin/awk
OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
FRIBIDI_DESC= Fribidi Support
@ -60,6 +65,8 @@ GPGME_CONFIGURE_OFF= --with-gpgme-prefix=/nonexistent
post-patch:
@${REINPLACE_CMD} -e '1 s|/usr/bin/python|/usr/bin/env python|' \
${WRKSRC}/misc/CenterIMLog2HTML.py
@${REINPLACE_CMD} -e 's|-R$$found_dir|-Wl,-rpath,$$found_dir|' \
${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}