# New ports collection makefile for:   qt21
# Date created:		17 Jul 1999
# Whom:			imura@kml.cs.titech.ac.jp
#
# $FreeBSD$
#

PORTNAME=	qt
PORTVERSION=	2.1.0
CATEGORIES=	x11-toolkits
MASTER_SITES=	ftp://ftp.trolltech.com/qt/source/
DISTNAME=	${PORTNAME}-x11-${PORTVERSION}

MAINTAINER=	imura@FreeBSD.org

LIB_DEPENDS=	png.3:${PORTSDIR}/graphics/png \
		jpeg.9:${PORTSDIR}/graphics/jpeg \
		GL.14:${PORTSDIR}/graphics/Mesa3

NO_LATEST_LINK=	yes
USE_GMAKE=	yes
USE_X_PREFIX=	yes
USE_NEWGCC=	yes
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	-system-zlib -system-libpng -system-jpeg -sm \
		-I${LOCALBASE}/include -L${LOCALBASE}/lib
CONFIGURE_ENV=	QTDIR=${WRKSRC}
MAKE_ENV=	QTDIR=${WRKSRC}

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFIG=		${WRKSRC}/configs/freebsd-g++-shared

.if defined(QT_GIF_AVAILABLE)
CONFIGURE_ARGS+=-gif
RESTRICTED=	'Requires a license from UNISYS'
.endif

.if !defined(NOPORTDOCS)
.include "files/manpages"
.endif

pre-configure:
	@${PERL} -pi -e "s,gcc,${CC},g" ${CONFIG}
	@${PERL} -pi -e "s,g\+\+,${CXX},g" ${CONFIG}
	@${PERL} -pi -e "s,/usr/X11R6,${X11BASE},g" ${CONFIG}
	@${PERL} -pi -e "s,-pipe -O2,${CXXFLAGS},g" ${CONFIG}

post-configure:
	@(cd ${WRKSRC} ; ${GMAKE} symlinks)

do-install:
	${MKDIR} ${PREFIX}/include/qt2
	(cd ${WRKSRC} ; \
	${INSTALL_PROGRAM} bin/mergetr ${PREFIX}/bin ; \
	${INSTALL_PROGRAM} bin/moc ${PREFIX}/bin/moc2 ; \
	${INSTALL_PROGRAM} bin/msg2qm ${PREFIX}/bin ; \
	${INSTALL_SCRIPT} bin/findtr ${PREFIX}/bin ; \
	${INSTALL_SCRIPT} bin/qt20fix ${PREFIX}/bin ; \
	${INSTALL_SCRIPT} bin/qtrename140 ${PREFIX}/bin ; \
	${INSTALL_DATA} include/*.h ${PREFIX}/include/qt2 ; \
	${INSTALL_DATA} lib/* ${PREFIX}/lib )
	${LN} -sf libqt2.so.3 ${PREFIX}/lib/libqt2.so
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/qt2/html
	(cd ${WRKSRC} ; \
	${INSTALL_DATA} ANNOUNCE ${PREFIX}/share/doc/qt2 ; \
	${INSTALL_DATA} FAQ ${PREFIX}/share/doc/qt2 ; \
	${INSTALL_DATA} LICENSE.QPL ${PREFIX}/share/doc/qt2 ; \
	${INSTALL_DATA} PORTING ${PREFIX}/share/doc/qt2 ; \
	${INSTALL_DATA} README ${PREFIX}/share/doc/qt2 ; \
	${INSTALL_DATA} README.QT ${PREFIX}/share/doc/qt2 ; \
	${INSTALL_DATA} changes-2.1.0 ${PREFIX}/share/doc/qt2 ; \
	${INSTALL_DATA} doc/html/* ${PREFIX}/share/doc/qt2/html ; \
	${INSTALL_MAN} doc/man/man3/q* ${PREFIX}/man/man3 )
.endif

.include <bsd.port.mk>
ge-4.6.2'>dependabot/npm_and_yarn/devel/electron4/files/lodash.merge-4.6.2</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2'>dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8' selected='selected'>dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2'>dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2</option>
<option value='gnome-3.22'>gnome-3.22</option>
<option value='gnome-3.24'>gnome-3.24</option>
<option value='gnome-3.26'>gnome-3.26</option>
<option value='gnome-3.28'>gnome-3.28</option>
<option value='gnome-3.32'>gnome-3.32</option>
<option value='gnome-3.36'>gnome-3.36</option>
<option value='gstreamer'>gstreamer</option>
<option value='gstreamer-1.16'>gstreamer-1.16</option>
<option value='gstreamer0.10-removal'>gstreamer0.10-removal</option>
<option value='main'>main</option>
<option value='master'>master</option>
<option value='mate-1.16'>mate-1.16</option>
<option value='mate-1.18'>mate-1.18</option>
<option value='mate-1.20'>mate-1.20</option>
<option value='mate-1.22'>mate-1.22</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/freebsd-ports-gnome/about/?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>about</a><a href='/~lantw44/cgit/freebsd-ports-gnome/?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>summary</a><a href='/~lantw44/cgit/freebsd-ports-gnome/refs/?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=08a0d32bb7c0c40055e5e9a8bcae55430755d27d'>refs</a><a class='active' href='/~lantw44/cgit/freebsd-ports-gnome/log/www/pear-Structures_DataGrid_Renderer_Pager?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>log</a><a href='/~lantw44/cgit/freebsd-ports-gnome/tree/www/pear-Structures_DataGrid_Renderer_Pager?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=08a0d32bb7c0c40055e5e9a8bcae55430755d27d'>tree</a><a href='/~lantw44/cgit/freebsd-ports-gnome/commit/www/pear-Structures_DataGrid_Renderer_Pager?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=08a0d32bb7c0c40055e5e9a8bcae55430755d27d'>commit</a><a href='/~lantw44/cgit/freebsd-ports-gnome/diff/www/pear-Structures_DataGrid_Renderer_Pager?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=08a0d32bb7c0c40055e5e9a8bcae55430755d27d'>diff</a><a href='/~lantw44/cgit/freebsd-ports-gnome/stats/www/pear-Structures_DataGrid_Renderer_Pager?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/freebsd-ports-gnome/log/www/pear-Structures_DataGrid_Renderer_Pager'>
<input type='hidden' name='h' value='dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'/><input type='hidden' name='id' value='08a0d32bb7c0c40055e5e9a8bcae55430755d27d'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/freebsd-ports-gnome/log/?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=08a0d32bb7c0c40055e5e9a8bcae55430755d27d'>root</a>/<a href='/~lantw44/cgit/freebsd-ports-gnome/log/www?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=08a0d32bb7c0c40055e5e9a8bcae55430755d27d'>www</a>/<a href='/~lantw44/cgit/freebsd-ports-gnome/log/www/pear-Structures_DataGrid_Renderer_Pager?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=08a0d32bb7c0c40055e5e9a8bcae55430755d27d'>pear-Structures_DataGrid_Renderer_Pager</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/freebsd-ports-gnome/log/www/pear-Structures_DataGrid_Renderer_Pager?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=08a0d32bb7c0c40055e5e9a8bcae55430755d27d&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/freebsd-ports-gnome/commit/www/pear-Structures_DataGrid_Renderer_Pager?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=0aad9a7ac5fe949ee9ab390b6fcaaa482dd70ee4'>Stage support for non-IGNORED pear classes</a></td><td>antoine</td><td><span title='2013-11-26 01:59:58 +0800'>2013-11-26</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+0</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/freebsd-ports-gnome/commit/www/pear-Structures_DataGrid_Renderer_Pager?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=e598d34341b62529b9ef63db27d571f9bcb8c766'>Add NO_STAGE all over the place in preparation for the staging support (cat: ...</a></td><td>bapt</td><td><span title='2013-09-21 07:36:50 +0800'>2013-09-21</span></td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+1</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/freebsd-ports-gnome/commit/www/pear-Structures_DataGrid_Renderer_Pager?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=44e3b8ae5bf3397eb3a19986ea5322fd31ee134a'>- Convert to PEAR_AUTOINSTALL</a></td><td>miwi</td><td><span title='2013-03-17 23:28:55 +0800'>2013-03-17</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+1</span></td></tr>