7e8d10a55e
take advantage of -lqtgl provided by the newest QT2.3.0 port. PR: 26029 Submitted by: Roland Jesse <jesse@cs.uni-magdeburg.de>
31 lines
806 B
Makefile
31 lines
806 B
Makefile
# New ports collection makefile for: mango
|
|
# Date created: 23 March 2001
|
|
# Whom: Roland Jesse <jesse@cs.uni-magdeburg.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mango
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ftp://mango.sourceforge.net/pub/mango/
|
|
|
|
MAINTAINER= jesse@cs.uni-magdeburg.de
|
|
|
|
BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake
|
|
|
|
USE_BZIP2= yes
|
|
USE_QT2= yes
|
|
TMAKEENV= TMAKEPATH=${PREFIX}/share/tmake/freebsd-g++ QTDIR=${X11BASE}
|
|
MAKE_ENV+= QTDIR=${X11BASE}
|
|
|
|
do-build:
|
|
(cd ${WRKSRC}; ${SETENV} ${TMAKEENV} tmake -o Makefile mango.pro)
|
|
(${PERL} -pi.orig -e "s@-lqt2@-lqtgl@g" ${WRKSRC}/Makefile)
|
|
(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/mango ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|