openbsd-ports/devel/doc++/Makefile
2010-11-15 19:45:56 +00:00

38 lines
912 B
Makefile

# $OpenBSD: Makefile,v 1.19 2010/11/15 19:45:57 espie Exp $
COMMENT= documentation system for C, C++, IDL and Java
DISTNAME= doc++-3.4.10
REVISION = 2
CATEGORIES= devel
HOMEPAGE= http://docpp.sourceforge.net/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docpp/}
RUN_DEPENDS= print/ghostscript/gnu \
print/texlive/base
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODULES= devel/gettext
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/doc++
${INSTALL_DATA} ${WRKSRC}/doc/manual/html/* ${PREFIX}/share/doc/doc++
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/tex/latex/doc++
${INSTALL_DATA} ${WRKSRC}/doc/*.sty \
${PREFIX}/share/texmf/tex/latex/doc++
.include <bsd.port.mk>