2000-05-19 23:54:48 -04:00
|
|
|
# New ports collection makefile for: Quanta+
|
|
|
|
# Date created: 19 May 2000
|
2000-12-29 21:33:12 -05:00
|
|
|
# Whom: Will Andrews <will@FreeBSD.org>
|
2000-05-19 23:54:48 -04:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= quanta
|
2001-03-18 02:53:02 -05:00
|
|
|
PORTVERSION= 2.0p1
|
2000-05-19 23:54:48 -04:00
|
|
|
CATEGORIES= www kde
|
2000-06-14 09:21:38 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-03-18 02:53:02 -05:00
|
|
|
DISTNAME= ${PORTNAME}-2.0-pr1
|
|
|
|
.if !defined(NO_PORTDOCS)
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
css.tar.bz2 \
|
|
|
|
html.tar.bz2 \
|
|
|
|
javascript.tar.bz2 \
|
|
|
|
php.tar.bz2
|
|
|
|
.endif
|
2000-05-19 23:54:48 -04:00
|
|
|
|
2000-12-29 21:33:12 -05:00
|
|
|
MAINTAINER= jeremy@external.org
|
2000-05-19 23:54:48 -04:00
|
|
|
|
2001-03-18 02:53:02 -05:00
|
|
|
LIB_DEPENDS= kdeui.4:${PORTSDIR}/x11/kdelibs2 \
|
|
|
|
intl.1:${PORTSDIR}/devel/gettext
|
2000-05-19 23:54:48 -04:00
|
|
|
|
2001-03-18 02:53:02 -05:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
USE_QT2= yes
|
|
|
|
MOC?= ${X11BASE}/bin/moc2
|
|
|
|
USE_XPM= yes
|
2000-05-19 23:54:48 -04:00
|
|
|
USE_BZIP2= yes
|
2001-03-18 02:53:02 -05:00
|
|
|
USE_NEWGCC= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt2 \
|
|
|
|
--with-qt-libraries=${X11BASE}/lib \
|
|
|
|
--with-extra-libs=${LOCALBASE}/lib \
|
|
|
|
--with-extra-includes=${LOCALBASE}/include \
|
|
|
|
--disable-closure
|
|
|
|
CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-lqt2" LIBQTFILE="libqt2" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-03-29 11:35:19 -05:00
|
|
|
LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lstdc++ -lgcc ${PTHREAD_LIBS}"
|
2000-05-19 23:54:48 -04:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2001-03-18 02:53:02 -05:00
|
|
|
DOCS= css html javascript php
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${PERL} -pi -e "s#lqt #lqt2 #g" ${WRKSRC}/quanta/Makefile.in
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
.for doc in ${DOCS}
|
|
|
|
cd ${WRKDIR}/${doc} && \
|
|
|
|
${CP} -R ${doc} ${doc}.docrc ${PREFIX}/share/apps/quanta/doc
|
|
|
|
.endfor
|
|
|
|
${CHOWN} -R root:wheel ${PREFIX}/share/apps/quanta/doc
|
|
|
|
find ${PREFIX}/share/apps/quanta/doc -type f | xargs ${CHMOD} 444
|
|
|
|
.endif
|
|
|
|
|
2000-05-19 23:54:48 -04:00
|
|
|
.include <bsd.port.mk>
|