1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/devel/linguist/Makefile
Will Andrews dbba8af644 Overhaul QT/KDE support:
- bsd.port.mk update to use bsd.kde.mk for USE_{QT,KDE}*
- Cleanup corresponding ports for bsd.kde.mk update.
- Fix bsd.kde.mk: use correct kdelibs dependency, put qt at the bottom,
  introduce QT_NONSTANDARD variable for nonstandard configure setup.
- Update KDE2 to 2.1.1.  Two patches included in x11/kdelibs2 to fix the
  proxy authentication that was broken for 2.1.1.  Remove old patches.
- Potentially fix kdelibs build for alpha.
- Fix qt-designer 2.3.0 build.
- Ruby stuff left alone since it looks like black magic to me.  Should
  still work w/ compat shims for older USE_QT[,2] style.  Some others
  were also left alone for the same reason.

Reviewed by:	portmgr, ports (bsd.kde.mk+bsd.port.mk)
Submitted by:	David Faure <faure@kde.org> (proxy auth patches)
		Alex Zepeda <garbanzo@kde.org> (old patches removal)
2001-04-03 08:14:43 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: linguist
# Date created: 31 October 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= linguist
PORTVERSION= 0.0
CATEGORIES= devel
MASTER_SITES= ftp://ftp.trolltech.com/qt/pre-releases/
DISTNAME= ${PORTNAME}-pre
MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_QT_VER= 2
USE_X_PREFIX= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV= TMAKEPATH="${LOCALBASE}/share/tmake/freebsd-g++" \
QTDIR="${X11BASE}"
MAKE_ENV= TMAKEPATH="${LOCALBASE}/share/tmake/freebsd-g++" \
QTDIR="${X11BASE}"
MAKE_ARGS= -e
.include <bsd.port.pre.mk>
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -O0
.endif
post-configure:
@${PERL} -pi -e 's|\$\(SUBDIRS\):.*tmake_all|\$\(SUBDIRS\):|' \
${WRKSRC}/Makefile
@find ${WRKSRC} -name "Makefile" -type f | xargs ${PERL} -pi -e \
's|TARGET.*=.*\$\(QTDIR\)/bin/|TARGET=|'
do-install:
.for file in linguist lrelease lupdate qm2ts
${INSTALL_PROGRAM} ${WRKSRC}/${file}/${file} ${PREFIX}/bin
.endfor
${MKDIR} ${PREFIX}/share/doc/linguist
${INSTALL_MAN} ${WRKSRC}/linguist/tutorial/doc/html/* ${PREFIX}/share/doc/linguist
.include <bsd.port.post.mk>