- 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)
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# New ports collection makefile for: doxygen
|
|
# Date created: 20 March 1998
|
|
# Whom: Joep Grooten <joep@di.nl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= doxygen
|
|
PORTVERSION= 1.2.6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/
|
|
EXTRACT_SUFX= .src.tar.gz
|
|
|
|
MAINTAINER= joep@di.nl
|
|
|
|
USE_QT_VER= 1
|
|
USE_PERL5= yes
|
|
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}
|
|
ALL_TARGET= all docs
|
|
.ifdef HAVE_LATEX
|
|
ALL_TARGET+= ps
|
|
PLIST_SUB+= HAVE_LATEX=""
|
|
.else
|
|
PLIST_SUB+= HAVE_LATEX="@comment "
|
|
.endif
|
|
|
|
pre-configure:
|
|
@${PERL} -pi -e "s:gcc:${CC}:g ; s:g\+\+:${CXX}:g ; \
|
|
s:%%CFLAGS%%:${CFLAGS}:g ; \
|
|
s:%%CXXFLAGS%%:${CXXFLAGS}:g" ${WRKSRC}/tmake/lib/freebsd-g++/tmake.conf
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/doxygen ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/doxytag ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/doxysearch ${PREFIX}/bin
|
|
.ifndef NOPORTDOCS
|
|
${MKDIR} ${PREFIX}/share/doc/doxygen/html
|
|
${INSTALL_DATA} ${WRKSRC}/html/* ${PREFIX}/share/doc/doxygen/html
|
|
.ifdef HAVE_LATEX
|
|
${INSTALL_DATA} ${WRKSRC}/latex/doxygen_manual.dvi \
|
|
${PREFIX}/share/doc/doxygen
|
|
${INSTALL_DATA} ${WRKSRC}/latex/doxygen_manual.ps \
|
|
${PREFIX}/share/doc/doxygen
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|