mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
20704e1691
PR: 24464 Submitted by: joseph@randomnetworks.com
35 lines
955 B
Makefile
35 lines
955 B
Makefile
# New ports collection makefile for: doxygen
|
|
# Date created: 20 March 1998
|
|
# Whom: Joep Grooten <joep@di.nl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= doxygen
|
|
PORTVERSION= 1.2.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.stack.nl/~dimitri/doxygen/dl/
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}.src.tar.gz
|
|
|
|
MAINTAINER= joep@di.nl
|
|
|
|
USE_QT= yes
|
|
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}
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|