aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/licq
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-12-21 08:12:03 +0800
committergreen <green@FreeBSD.org>2000-12-21 08:12:03 +0800
commit107ad0d96e0a173eb7cd8fc8bd6c348e8b836b69 (patch)
tree38d9ba1306b4a04911de198168ab66b9ee7baaf0 /net-im/licq
parentae8099c3350ed6c905b05ca8f16d594680bae713 (diff)
downloadfreebsd-ports-graphics-107ad0d96e0a173eb7cd8fc8bd6c348e8b836b69.tar.gz
freebsd-ports-graphics-107ad0d96e0a173eb7cd8fc8bd6c348e8b836b69.tar.zst
freebsd-ports-graphics-107ad0d96e0a173eb7cd8fc8bd6c348e8b836b69.zip
Woops, commit Makefile, too.
Diffstat (limited to 'net-im/licq')
-rw-r--r--net-im/licq/Makefile31
1 files changed, 8 insertions, 23 deletions
diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile
index c18f7a4c86d..66de8f711b9 100644
--- a/net-im/licq/Makefile
+++ b/net-im/licq/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= licq
-PORTVERSION= 0.85
+PORTVERSION= 1.0.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.wibble.net/pub/licq/srcs/ \
@@ -14,13 +14,13 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.fanfic.org/pub/licq/srcs/ \
ftp://ftp.inter-i.uni-mainz.de/pub/licq/srcs/
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES}
MAINTAINER= green@FreeBSD.org
BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake
+LIB_DEPENDS= qt2:${PORTSDIR}/x11-toolkits/qt22
-USE_QT2= yes
+#USE_QT2= yes
USE_GMAKE= yes
USE_AUTOCONF= yes
USE_NEWGCC= yes
@@ -29,13 +29,10 @@ USE_PERL5= yes
CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/qt2
CONFIGURE_TARGET= $(ARCH)-unknown-freebsdelf$(OSREL)
-DATANAME= licq-data-1.6
-DATAFILES= ${DATANAME}${EXTRACT_SUFX}
-DATADIR= ${WRKDIR}/${DATANAME}
post-configure:
- @(cd ${WRKSRC}/plugins/qt-gui && ${AUTOCONF})
- @(cd ${WRKSRC}/plugins/qt-gui && \
+ @(cd ${WRKSRC}/plugins/qt-gui-${PORTVERSION} && ${AUTOCONF})
+ @(cd ${WRKSRC}/plugins/qt-gui-${PORTVERSION} && \
if ! ${SETENV} CC="${CC}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
@@ -52,7 +49,7 @@ post-configure:
fi)
post-build:
- @(cd ${WRKSRC}/plugins/qt-gui;\
+ @(cd ${WRKSRC}/plugins/qt-gui-${PORTVERSION}; \
${SETENV} ${MAKE_ENV} \
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
@@ -61,22 +58,10 @@ pre-install:
${MKDIR} -m 700 ${PREFIX}/share/licq
post-install:
- strip ${PREFIX}/bin/licq
- cd ${WRKSRC}/plugins/qt-gui;\
+ cd ${WRKSRC}/plugins/qt-gui-${PORTVERSION}; \
${SETENV} ${MAKE_ENV} \
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
- ${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
${CHMOD} -R a-w ${PREFIX}/share/licq
- ${CHMOD} 555 ${PREFIX}/share/licq
+ ${CHMOD} 755 ${PREFIX}/share/licq
.include <bsd.port.mk>