1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
# New ports collection makefile for: CommonC++
# Date created: 25 July 2000
# Whom: David Sugar <dyfet@gnu.org>
#
# $FreeBSD: ports/devel/commoncpp2/Makefile,v 1.1 2000/07/27 10:03:56 sobomax Exp $
#
# Copyright (c) 1999-2001 by Open Source Telecom Corporation.
# Verbatim copying and distribution of this entire file is permitted
# in any medium, provided this notice is preserved.
PORTNAME= commoncpp2
PORTVERSION= @VERSION@
CATEGORIES= devel
MASTER_SITES= ftp://www.gnu.org/gnu/commonc++/
MAINTAINER= dyfet@gnu.org
BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \
automake:${PORTSDIR}/devel/automake
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
xml2.5:${PORTSDIR}/textproc/libxml2
USE_GMAKE= yes
USE_CONFIGURE= no
USE_LIBTOOL= yes
USE_AUTOCONF= no
INSTALLS_SHLIB= yes
#CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
post-extract:
# cd ${WRKSRC} ; ./configure
# @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
# 's|-release \$$\(LT_RELEASE\)||g'
(cd ${WRKSRC} ; ./reconfig)
(cd ${WRKSRC} ; ./configure)
(cd ${WRKSRC}/doc ; doxygen Doxyfile)
(cd ${WRKSRC}/doc ; doxygen Doxyman)
post-install:
(cd ${WRKSRC} ; make man)
#.if !defined(NOPORTDOCS)
# ${MKDIR} ${PREFIX}/share/doc/commoncpp2
# cp ${WRKSRC}/doc/html/* ${PREFIX}/share/doc/commoncpp2
#.endif
.include <bsd.port.mk>
|