summaryrefslogtreecommitdiff
path: root/www/htmldoc/Makefile
blob: 397ea199e31c171674b09b1f223d6f0c97ffff93 (plain)
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
# $NetBSD: Makefile,v 1.11 2001/03/04 09:06:20 tron Exp $
#

DISTNAME=		${PKGNAME}-source
PKGNAME=		htmldoc-1.7
WRKSRC=			${WRKDIR}/${PKGNAME}
CATEGORIES=		www
MASTER_SITES=		ftp://ftp.easysw.com/pub/htmldoc/1.7/

MAINTAINER=		packages@netbsd.org
HOMEPAGE=		http://www.easysw.com/~mike/htmldoc/
COMMENT=		Converts HTML to indexed HTML, PDF and/or PostScript

DEPENDS+=		jpeg-6b:../../graphics/jpeg
DEPENDS+=		png>1.0.9:../../graphics/png

NOT_FOR_PLATFORM=	*-*-alpha	#ps-pdf.cpp:3229: Internal compiler error. on 1.4 - 1.7 unknown

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-x
MAKE_ENV+=		CPPFLAGS=-L${LOCALBASE}/lib \
			BINDIR=${PREFIX}/bin \
			MANDIR=${PREFIX}/man

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/htmldoc ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/htmldoc.1 ${PREFIX}/man/man1

.include "../../mk/bsd.pkg.mk"