aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/licq-console/Makefile32
-rw-r--r--net-im/licq-console/files/patch-config.h.in8
-rw-r--r--net-im/licq-console/pkg-descr2
3 files changed, 17 insertions, 25 deletions
diff --git a/net-im/licq-console/Makefile b/net-im/licq-console/Makefile
index 7bdc1017247b..1b3a7bf22174 100644
--- a/net-im/licq-console/Makefile
+++ b/net-im/licq-console/Makefile
@@ -15,28 +15,26 @@ COMMENT= Ncurses-based console plugin for Licq
LIB_DEPENDS= cdk.5:${PORTSDIR}/devel/cdk \
boost_regex.4:${PORTSDIR}/devel/boost-libs
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- LIBS="${PTHREAD_LIBS}"
-LICQ_PORT?= net-im/licq
-CPPFLAGS+= ${PTHREAD_CFLAGS}
-CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/cdk
-LDFLAGS+= -L${LOCALBASE}/lib
+LICENSE= GPLv2
-PLIST_FILES= lib/licq/licq_console.la \
- lib/licq/licq_console.so
+USE_CMAKE= yes
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
-.include <bsd.port.pre.mk>
+DOCFILES= README
+PLIST_FILES= lib/licq/licq_console.so \
+ %%PORTDOCS%%%%DOCSDIR%%/README
+PLIST_DIRS= %%PORTDOCS%%%%DOCSDIR%%
-.if ${ARCH} == "alpha"
-BROKEN= gp-relative relocation against dynamic symbol
-.endif
+LICQ_PORT?= net-im/licq
+
+.include <bsd.port.pre.mk>
.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
-post-patch:
- ${REINPLACE_CMD} -e "s|/usr/local/|${LOCALBASE}/|g" \
- ${WRKSRC}/configure
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+.endif
.include <bsd.port.post.mk>
diff --git a/net-im/licq-console/files/patch-config.h.in b/net-im/licq-console/files/patch-config.h.in
deleted file mode 100644
index 81f46704e563..000000000000
--- a/net-im/licq-console/files/patch-config.h.in
+++ /dev/null
@@ -1,8 +0,0 @@
---- config.h.in.orig Sun Oct 15 14:13:57 2006
-+++ config.h.in Thu Dec 7 07:15:07 2006
-@@ -1,4 +1,5 @@
- /* config.h.in. Generated from configure.in by autoheader. */
-+#include <sys/types.h>
-
- /* Define to 1 if you have the <dirent.h> header file. */
- #undef HAVE_DIRENT_H
diff --git a/net-im/licq-console/pkg-descr b/net-im/licq-console/pkg-descr
index f5fc8daa0db1..00dc753997eb 100644
--- a/net-im/licq-console/pkg-descr
+++ b/net-im/licq-console/pkg-descr
@@ -1,3 +1,5 @@
An ncurses console plugin for the popular icq clone licq.
+LICENSE: GPL2 or later with execption to link with OpenSSL
+
WWW: http://www.licq.org/