1998-07-09 12:01:54 -04:00
|
|
|
# New ports collection makefile for: licq
|
|
|
|
# Date created: 2 July 1998
|
2000-04-01 00:21:42 -05:00
|
|
|
# Whom: Brian Feldman & Matt Heckaman
|
1998-07-09 12:01:54 -04:00
|
|
|
#
|
1999-08-30 10:24:37 -04:00
|
|
|
# $FreeBSD$
|
1998-07-09 12:01:54 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 14:14:07 -04:00
|
|
|
PORTNAME= licq
|
2001-03-12 21:34:28 -05:00
|
|
|
PORTVERSION= 1.0.3
|
1998-07-09 12:01:54 -04:00
|
|
|
CATEGORIES= net
|
2000-06-14 09:21:38 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
2000-02-16 00:01:13 -05:00
|
|
|
ftp://ftp.wibble.net/pub/licq/srcs/ \
|
1999-05-02 16:21:41 -04:00
|
|
|
ftp://licq.darkorb.net/srcs/ \
|
|
|
|
ftp://ftp.fanfic.org/pub/licq/srcs/ \
|
|
|
|
ftp://ftp.inter-i.uni-mainz.de/pub/licq/srcs/
|
2000-06-14 09:21:38 -04:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1998-07-09 12:01:54 -04:00
|
|
|
|
1999-11-15 22:46:17 -05:00
|
|
|
MAINTAINER= green@FreeBSD.org
|
1998-11-01 23:04:44 -05:00
|
|
|
|
2000-04-01 00:21:42 -05:00
|
|
|
BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake
|
1998-07-09 12:01:54 -04:00
|
|
|
|
2001-04-03 04:14:43 -04:00
|
|
|
USE_QT_VER= 2
|
1998-08-08 21:25:57 -04:00
|
|
|
USE_GMAKE= yes
|
2000-02-14 20:46:27 -05:00
|
|
|
USE_AUTOCONF= yes
|
2000-08-04 11:56:57 -04:00
|
|
|
USE_OPENSSL= yes
|
2001-01-16 12:33:20 -05:00
|
|
|
USE_PERL5= yes
|
1998-07-09 12:01:54 -04:00
|
|
|
|
2001-01-16 12:33:20 -05:00
|
|
|
CONFIGURE_TARGET= $(ARCH)-unknown-freebsdelf$(OSREL)
|
2000-02-14 20:46:27 -05:00
|
|
|
|
2001-03-12 21:34:28 -05:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi.orig -e 's:<wait\.h>:<sys/wait.h>:g' \
|
|
|
|
${WRKSRC}/src/sighandler.c
|
|
|
|
|
2000-02-14 20:46:27 -05:00
|
|
|
post-configure:
|
2000-12-20 19:12:03 -05:00
|
|
|
@(cd ${WRKSRC}/plugins/qt-gui-${PORTVERSION} && ${AUTOCONF})
|
|
|
|
@(cd ${WRKSRC}/plugins/qt-gui-${PORTVERSION} && \
|
2000-02-23 06:32:33 -05:00
|
|
|
if ! ${SETENV} CC="${CC}" CXX="${CXX}" \
|
|
|
|
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
|
|
|
|
INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
|
|
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
2000-08-09 16:00:49 -04:00
|
|
|
QTBASE="${X11BASE}" \
|
2000-07-04 03:34:42 -04:00
|
|
|
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} \
|
|
|
|
--enable-spoofing; then \
|
2000-02-23 06:32:33 -05:00
|
|
|
${ECHO} "===> Script \"${CONFIGURE_SCRIPT}\" failed: here are the contents of \"${CONFIGURE_LOG}\""; \
|
|
|
|
${CAT} ${CONFIGURE_LOG}; \
|
|
|
|
${ECHO} "(end of \"${CONFIGURE_LOG}\")"; \
|
|
|
|
${FALSE}; \
|
|
|
|
fi)
|
2000-02-14 20:46:27 -05:00
|
|
|
|
|
|
|
post-build:
|
2000-12-20 19:12:03 -05:00
|
|
|
@(cd ${WRKSRC}/plugins/qt-gui-${PORTVERSION}; \
|
2000-02-14 20:46:27 -05:00
|
|
|
${SETENV} ${MAKE_ENV} \
|
|
|
|
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
1998-11-01 23:04:44 -05:00
|
|
|
|
2000-08-15 14:56:30 -04:00
|
|
|
pre-install:
|
|
|
|
${RM} -rf ${PREFIX}/share/licq
|
|
|
|
${MKDIR} -m 700 ${PREFIX}/share/licq
|
|
|
|
|
1999-05-02 16:21:41 -04:00
|
|
|
post-install:
|
2000-12-20 19:12:03 -05:00
|
|
|
cd ${WRKSRC}/plugins/qt-gui-${PORTVERSION}; \
|
2000-02-14 20:46:27 -05:00
|
|
|
${SETENV} ${MAKE_ENV} \
|
|
|
|
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
|
2000-08-15 14:56:30 -04:00
|
|
|
${CHMOD} -R a-w ${PREFIX}/share/licq
|
2000-12-20 19:12:03 -05:00
|
|
|
${CHMOD} 755 ${PREFIX}/share/licq
|
1999-05-02 16:21:41 -04:00
|
|
|
|
1998-07-09 12:01:54 -04:00
|
|
|
.include <bsd.port.mk>
|