1998-07-09 16:01:54 +00:00
|
|
|
# New ports collection makefile for: licq
|
2000-02-15 01:46:27 +00:00
|
|
|
# Version required: 0.75.3a
|
1998-07-09 16:01:54 +00:00
|
|
|
# Date created: 2 July 1998
|
|
|
|
# Whom: Brian Feldman
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-07-09 16:01:54 +00:00
|
|
|
#
|
|
|
|
|
2000-02-15 01:46:27 +00:00
|
|
|
DISTNAME= licq-0.75.3a
|
1998-07-09 16:01:54 +00:00
|
|
|
CATEGORIES= net
|
2000-02-16 05:01:13 +00:00
|
|
|
MASTER_SITES= http://download.sourceforge.net/licq/ \
|
|
|
|
ftp://ftp.wibble.net/pub/licq/srcs/ \
|
1999-05-02 20:21:41 +00:00
|
|
|
ftp://licq.darkorb.net/srcs/ \
|
|
|
|
ftp://ftp.fanfic.org/pub/licq/srcs/ \
|
|
|
|
ftp://ftp.inter-i.uni-mainz.de/pub/licq/srcs/
|
2000-02-15 01:46:27 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES}
|
1998-07-09 16:01:54 +00:00
|
|
|
|
1999-11-16 03:46:17 +00:00
|
|
|
MAINTAINER= green@FreeBSD.org
|
1998-11-02 04:04:44 +00:00
|
|
|
|
2000-02-15 01:46:27 +00:00
|
|
|
BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake
|
1998-07-09 16:01:54 +00:00
|
|
|
|
2000-02-15 01:46:27 +00:00
|
|
|
USE_QT2= yes
|
1998-08-09 01:25:57 +00:00
|
|
|
USE_GMAKE= yes
|
2000-02-15 01:46:27 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_AUTOCONF= yes
|
|
|
|
USE_NEWGCC= yes
|
|
|
|
USE_PERL5= yes
|
1998-07-09 16:01:54 +00:00
|
|
|
|
2000-02-15 01:46:27 +00:00
|
|
|
DATANAME= licq-data-1.5
|
|
|
|
DATAFILES= ${DATANAME}${EXTRACT_SUFX}
|
|
|
|
DATADIR= ${WRKDIR}/${DATANAME}
|
|
|
|
|
|
|
|
post-configure:
|
2000-02-23 11:32:33 +00:00
|
|
|
@(cd ${WRKSRC}/plugins/qt-gui && \
|
|
|
|
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}" \
|
|
|
|
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \
|
|
|
|
${ECHO} "===> Script \"${CONFIGURE_SCRIPT}\" failed: here are the contents of \"${CONFIGURE_LOG}\""; \
|
|
|
|
${CAT} ${CONFIGURE_LOG}; \
|
|
|
|
${ECHO} "(end of \"${CONFIGURE_LOG}\")"; \
|
|
|
|
${FALSE}; \
|
|
|
|
fi)
|
2000-02-15 01:46:27 +00:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
@(cd ${WRKSRC}/plugins/qt-gui;\
|
|
|
|
${SETENV} ${MAKE_ENV} \
|
|
|
|
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
1998-11-02 04:04:44 +00:00
|
|
|
|
1999-05-02 20:21:41 +00:00
|
|
|
post-install:
|
2000-02-15 01:46:27 +00:00
|
|
|
strip ${PREFIX}/bin/licq
|
|
|
|
cd ${WRKSRC}/plugins/qt-gui;\
|
|
|
|
${SETENV} ${MAKE_ENV} \
|
|
|
|
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
|
|
|
|
strip ${PREFIX}/lib/licq/licq_qt-gui.so
|
|
|
|
${MKDIR} ${PREFIX}/share/licq/contrib
|
|
|
|
${INSTALL_SCRIPT} ${DATADIR}/contrib/licq.* ${PREFIX}/share/licq/contrib
|
|
|
|
${INSTALL_SCRIPT} ${DATADIR}/contrib/*.sh ${PREFIX}/share/licq/contrib
|
|
|
|
${MKDIR} ${PREFIX}/share/licq/sounds/icq
|
|
|
|
${INSTALL_DATA} ${DATADIR}/sounds/*.wav ${PREFIX}/share/licq/sounds
|
|
|
|
${INSTALL_DATA} ${DATADIR}/sounds/icq/*.wav ${PREFIX}/share/licq/sounds/icq
|
|
|
|
${MKDIR} ${PREFIX}/share/licq/translations
|
|
|
|
${INSTALL_DATA} ${DATADIR}/translations/* ${PREFIX}/share/licq/translations
|
|
|
|
${MKDIR} ${PREFIX}/share/licq/qt-gui
|
|
|
|
cd ${DATADIR}/qt-gui && ${TAR} -chf - * | \
|
|
|
|
${TAR} -xf - -C ${PREFIX}/share/licq/qt-gui
|
1999-05-02 20:21:41 +00:00
|
|
|
|
1998-07-09 16:01:54 +00:00
|
|
|
.include <bsd.port.mk>
|