freebsd-ports/net-im/licq-qt-gui/Makefile
Jimmy Olgeni cd086cfba5 Quick fix: link with qt2, not qt (it was hardcoded in Makefile.in/.am)
Also, some fixes for pkg-plist so that make deinstall/package works.
2001-04-13 15:38:44 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: qt-gui-licq
# Date created: 18 October 2000
# Whom: Jeremy Norris <ishmael272home.com>
#
# $FreeBSD$
#
PORTNAME= qt-gui
PORTVERSION= ${QT_LICQ_VER}
CATEGORIES= net
MAINTAINER= green@FreeBSD.org
USE_AUTOMAKE= yes
USE_QT_VER= 2
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
LIBS="${PTHREAD_LIBS}"
post-patch:
@${PERL5} -pi -e 's|0777|0755|g;' \
-e 's|-lqt|-lqt2-mt|g' ${WRKSRC}/share/Makefile.am
@${PERL5} -pi -e 's|libqt.so.2|libqt2-mt.so.4|g;' \
-e 's|libqt.so|libqt2-mt.so|g;' ${WRKSRC}/acinclude.m4
@${PERL5} -pi -e 's|-lqt|-lqt2|g;' ${WRKSRC}/src/Makefile.am \
${WRKSRC}/src/Makefile.in
pre-configure:
@(cd ${WRKSRC} && ${LOCALBASE}/bin/aclocal)
post-configure:
@(cd ${WRKSRC} && ${PERL5} am_edit)
@${PERL5} -pi -e 's|^archive_cmds=.*nostdlib.*|| ; \
s|^build_libtool_need_lc=.*|build_libtool_need_lc=no| ; \
s|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
${WRKSRC}/libtool
post-install:
${RM} -rf ${PREFIX}/share/licq/qt-gui/locale
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/net/licq/Makefile.inc"
.include <bsd.port.post.mk>