2020-09-21 14:36:35 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.49 2020/09/21 14:36:35 benoit Exp $
|
2001-05-06 03:19:44 +00:00
|
|
|
|
2016-01-03 10:18:36 +00:00
|
|
|
COMMENT = convert HTML pages to PDF/PS format
|
2001-02-21 23:31:31 +00:00
|
|
|
|
2020-09-21 14:36:35 +00:00
|
|
|
V = 1.9.10
|
2016-01-03 10:18:36 +00:00
|
|
|
DISTNAME = htmldoc-${V}
|
|
|
|
CATEGORIES = print www
|
2001-02-21 23:31:31 +00:00
|
|
|
|
2019-03-13 15:43:25 +00:00
|
|
|
HOMEPAGE = https://www.msweet.org/htmldoc/
|
2001-02-21 23:31:31 +00:00
|
|
|
|
2016-01-03 10:18:36 +00:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2006-02-05 16:17:13 +00:00
|
|
|
|
2016-01-03 10:18:36 +00:00
|
|
|
# GPLv2
|
2019-06-23 22:54:06 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2009-01-16 07:52:50 +00:00
|
|
|
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB += c crypto m ssl z jpeg png ${COMPILER_LIBCXX}
|
2001-02-21 23:36:28 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2016-01-03 10:18:36 +00:00
|
|
|
DISTFILES = ${DISTNAME}-source${EXTRACT_SUFX}
|
2020-01-14 15:59:28 +00:00
|
|
|
MASTER_SITES = https://github.com/michaelrsweet/htmldoc/releases/download/v${V}/
|
2007-05-02 18:34:00 +00:00
|
|
|
|
2016-01-03 10:18:36 +00:00
|
|
|
LIB_DEPENDS = graphics/jpeg \
|
2010-11-20 09:48:38 +00:00
|
|
|
graphics/png
|
2001-02-21 23:31:31 +00:00
|
|
|
|
2016-01-03 10:18:36 +00:00
|
|
|
CONFIGURE_STYLE = gnu dest
|
|
|
|
CONFIGURE_ARGS += --without-gui --disable-gnutls
|
|
|
|
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \
|
2013-06-04 18:41:39 +00:00
|
|
|
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
2002-12-16 17:01:23 +00:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
2020-01-14 15:59:28 +00:00
|
|
|
|
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
2001-02-21 23:31:31 +00:00
|
|
|
|
2002-08-10 20:12:36 +00:00
|
|
|
post-extract:
|
2015-05-25 07:54:27 +00:00
|
|
|
rm -r ${WRKSRC}/jpeg ${WRKSRC}/png ${WRKSRC}/zlib
|
2002-08-10 20:12:36 +00:00
|
|
|
|
2016-01-03 10:18:36 +00:00
|
|
|
NO_TEST = Yes
|
2002-10-28 13:40:41 +00:00
|
|
|
|
2001-02-21 23:31:31 +00:00
|
|
|
.include <bsd.port.mk>
|