1999-06-10 00:27:41 +00:00
|
|
|
# New ports collection makefile for: doxygen
|
|
|
|
# Date created: 20 March 1998
|
|
|
|
# Whom: Joep Grooten <joep@di.nl>
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1999-06-10 00:27:41 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= doxygen
|
|
|
|
PORTVERSION= 1.1.0
|
1999-06-10 00:27:41 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.stack.nl/~dimitri/doxygen/dl/
|
2000-04-11 21:30:15 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
1999-06-10 00:27:41 +00:00
|
|
|
|
|
|
|
MAINTAINER= joep@di.nl
|
|
|
|
|
2000-02-25 21:32:24 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
2000-02-21 23:43:38 +00:00
|
|
|
USE_QT= yes
|
|
|
|
USE_PERL5= yes
|
2000-02-25 21:32:24 +00:00
|
|
|
MAKE_ENV+= QTDIR="${X11BASE}" PCFLAGS="${CFLAGS}" PCXXFLAGS="${CXXFLAGS}"
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
CONFIGURE_ARGS+=--prefix ${PREFIX} --perl ${PERL5} --make ${GMAKE}
|
|
|
|
CONFIGURE_ENV+= QTDIR=${X11BASE}
|
2000-02-21 23:43:38 +00:00
|
|
|
|
|
|
|
pre-configure:
|
2000-02-25 21:32:24 +00:00
|
|
|
@${PERL} -pi -e "s:gcc:${CC}:g" ${WRKSRC}/tmake/lib/freebsd-g++/tmake.conf
|
|
|
|
@${PERL} -pi -e "s:g\+\+:${CXX}:" ${WRKSRC}/tmake/lib/freebsd-g++/tmake.conf
|
|
|
|
@${PERL} -pi -e "s:%%CFLAGS%%:${CFLAGS}:g" ${WRKSRC}/tmake/lib/freebsd-g++/tmake.conf
|
|
|
|
@${PERL} -pi -e "s:%%CXXFLAGS%%:${CXXFLAGS}:g" ${WRKSRC}/tmake/lib/freebsd-g++/tmake.conf
|
1999-06-10 00:27:41 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/doxygen ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/doxytag ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/doxysearch ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|