summaryrefslogtreecommitdiff
path: root/www/htmldoc/Makefile
blob: aa0527f3a7ef2b9f816a7a3b9ea6f5c4aa4b9a3a (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
30
# $NetBSD: Makefile,v 1.15 2002/03/13 17:37:52 fredb Exp $
#

DISTNAME=		${PKGNAME}-source
PKGNAME=		htmldoc-1.7
PKGREVISION=		1
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.2.1:../../graphics/png

NOT_FOR_PLATFORM=	NetBSD-1.[3-4]*-alpha	#ps-pdf.cpp:3229: Internal compiler error. on 1.4 - 1.7 unknown

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-x
CPPFLAGS+=		-L${LOCALBASE}/lib
MAKE_ENV+=		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"