e676d3950a
PR: 45840 Submitted by: lev@serebryakov.spb.ru, fjoe
51 lines
1.0 KiB
Makefile
51 lines
1.0 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
|
|
.if defined(WITH_KDE)
|
|
PKGNAMESUFFIX= -kde
|
|
.endif
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
|
|
LIBS="${PTHREAD_LIBS}"
|
|
INCDIR= ${PORTSDIR}/net
|
|
|
|
.if defined(WITH_KDE)
|
|
USE_KDELIBS_VER=3
|
|
CONFIGURE_ARGS+=--with-kde
|
|
CONFIGURE_ENV+= KDEDIR="${LOCALBASE}"
|
|
PLIST_SUB+= GUI_NAME=kde
|
|
.else
|
|
USE_QT_VER= 3
|
|
PLIST_SUB+= GUI_NAME=qt
|
|
.endif
|
|
|
|
pre-fetch:
|
|
.if defined(WITH_KDE)
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "Build with KDE support"
|
|
@${ECHO_MSG} ""
|
|
.else
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "You could define WITH_KDE if you want KDE support"
|
|
@${ECHO_MSG} ""
|
|
.endif
|
|
|
|
post-install:
|
|
${RM} -rf ${PREFIX}/share/licq/qt-gui/locale
|
|
.if exists(${X11BASE}/bin/XFree86)
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${INCDIR}/licq/Makefile.inc"
|
|
.include <bsd.port.post.mk>
|