openbsd-ports/devel/doc++/Makefile
steven 3b92333205 switch teTeX -> texlive
discussed with sturm and mbalmer
2007-10-01 11:42:30 +00:00

38 lines
940 B
Makefile

# $OpenBSD: Makefile,v 1.18 2007/10/01 11:42:30 steven Exp $
COMMENT= documentation system for C, C++, IDL and Java
DISTNAME= doc++-3.4.10
PKGNAME= ${DISTNAME}p2
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= :ghostscript-*: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>