1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

net-im/centerim: Unbreak by fixing shebang in misc/CenterIMLog2HTML.py

Port changes:
* Add LICENSE
* Add missing LIB_DEPENDS
* Change spaces to tabs
* Add USES=python

Approved by:	portmgr (port compliance, infrastructure)
This commit is contained in:
Yuri Victorovich 2018-03-18 17:16:56 +00:00
parent a254d0b65d
commit 50ee481e0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464936

View File

@ -11,17 +11,21 @@ MASTER_SITES= http://www.centerim.org/download/releases/ \
MAINTAINER= frank@altpeter.de
COMMENT= Text mode menu- and window-driven IM interface
LIB_DEPENDS= libcurl.so:ftp/curl
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= iconv gmake ncurses pkgconfig shebangfix ssl
LIB_DEPENDS= libassuan.so:security/libassuan \
libcurl.so:ftp/curl \
libgpg-error.so:security/libgpg-error
USES= iconv gmake ncurses pkgconfig python shebangfix ssl
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --with-ssl --with-openssl
CONFLICTS= centericq-[0-9]* centerim-devel-[0-9]*
SHEBANG_FILES= misc/cimformathistory misc/cimextracthistory.pl
SHEBANG_LANG= gawk
SHEBANG_FILES= misc/CenterIMLog2HTML.py misc/cimformathistory misc/cimextracthistory.pl
gawk_OLD_CMD= /bin/gawk
gawk_CMD= /usr/bin/awk
@ -36,7 +40,7 @@ RSS_DESC= RSS Support
LJ_DESC= LiveJournal Support
GG_DESC= Gadu-Gadu Protocol Support
OPTIONS_DEFAULT= MULTIBYTE FRIBIDI MSN YAHOO IRC JABBER GPGME RSS LJ GG
OPTIONS_DEFAULT= MULTIBYTE FRIBIDI MSN YAHOO IRC JABBER GPGME RSS LJ GG
OPTIONS_SUB= yes
@ -59,8 +63,6 @@ GPGME_LIB_DEPENDS= libgpgme.so:security/gpgme
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