blob: ac50adf9df0d395da3b9385d0d802cce678853eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# New ports collection makefile for: licq
# Version required: 0.75.3a
# Date created: 2 July 1998
# Whom: Brian Feldman
#
# $FreeBSD$
#
DISTNAME= licq-0.75.3a
CATEGORIES= net
MASTER_SITES= http://download.sourceforge.net/licq/ \
ftp://ftp.wibble.net/pub/licq/srcs/ \
ftp://licq.darkorb.net/srcs/ \
ftp://ftp.fanfic.org/pub/licq/srcs/ \
ftp://ftp.inter-i.uni-mainz.de/pub/licq/srcs/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES}
MAINTAINER= green@FreeBSD.org
BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake
USE_QT2= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_AUTOCONF= yes
USE_NEWGCC= yes
USE_PERL5= yes
DATANAME= licq-data-1.5
DATAFILES= ${DATANAME}${EXTRACT_SUFX}
DATADIR= ${WRKDIR}/${DATANAME}
post-configure:
@(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)
post-build:
@(cd ${WRKSRC}/plugins/qt-gui;\
${SETENV} ${MAKE_ENV} \
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
post-install:
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
.include <bsd.port.mk>
|