2011-07-10 05:40:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2011/07/10 09:40:57 jasper Exp $
|
2001-05-05 23:19:44 -04:00
|
|
|
|
2007-09-15 17:36:44 -04:00
|
|
|
COMMENT= convert HTML pages to PDF/PS format
|
2001-02-21 18:31:31 -05:00
|
|
|
|
2006-09-23 06:14:34 -04:00
|
|
|
V= 1.8.27
|
2002-08-10 16:12:36 -04:00
|
|
|
DISTNAME= htmldoc-${V}
|
2001-02-21 18:31:31 -05:00
|
|
|
CATEGORIES= print www
|
|
|
|
|
2011-07-10 05:40:57 -04:00
|
|
|
REVISION= 6
|
2010-09-22 08:50:03 -04:00
|
|
|
|
2006-09-23 06:14:34 -04:00
|
|
|
HOMEPAGE= http://www.htmldoc.org/
|
2001-02-21 18:31:31 -05:00
|
|
|
|
2009-12-20 12:28:21 -05:00
|
|
|
MAINTAINER= Benoit Lecocq <benoit@openbsd.org>
|
2006-02-05 11:17:13 -05:00
|
|
|
|
2011-07-10 05:40:57 -04:00
|
|
|
# GPLv2 with OpenSSL exception.
|
2001-02-21 18:31:31 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-01-16 02:52:50 -05:00
|
|
|
|
2010-09-22 08:50:03 -04:00
|
|
|
WANTLIB += c crypto m ssl z jpeg png
|
2001-02-21 18:36:28 -05:00
|
|
|
|
2002-12-16 12:01:23 -05:00
|
|
|
DISTFILES= ${DISTNAME}-source${EXTRACT_SUFX}
|
2002-08-10 16:12:36 -04:00
|
|
|
MASTER_SITES= ftp://ftp.easysw.com/pub/htmldoc/${V}/ \
|
|
|
|
ftp://ftp2.easysw.com/pub/htmldoc/${V}/ \
|
2006-09-23 06:14:34 -04:00
|
|
|
ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/htmldoc/${V}/ \
|
|
|
|
ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/htmldoc/${V}/
|
2001-02-21 18:31:31 -05:00
|
|
|
|
2010-11-20 04:48:38 -05:00
|
|
|
USE_GROFF = Yes
|
2007-05-02 14:34:00 -04:00
|
|
|
|
2010-11-20 04:48:38 -05:00
|
|
|
LIB_DEPENDS= graphics/jpeg \
|
|
|
|
graphics/png
|
2001-02-21 18:31:31 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
2011-07-10 05:40:57 -04:00
|
|
|
CONFIGURE_ARGS+= --without-gui
|
2001-02-21 18:31:31 -05:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
2007-05-02 14:34:00 -04:00
|
|
|
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include \
|
|
|
|
-I${LOCALBASE}/include/libpng" \
|
2002-12-16 12:01:23 -05:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
2006-12-26 09:07:10 -05:00
|
|
|
PORTHOME= ${WRKDIR}
|
2001-02-21 18:31:31 -05:00
|
|
|
|
2002-08-10 16:12:36 -04:00
|
|
|
post-extract:
|
|
|
|
@rm -rf ${WRKSRC}/jpeg ${WRKSRC}/png ${WRKSRC}/zlib
|
|
|
|
|
2006-02-05 11:17:13 -05:00
|
|
|
post-configure:
|
|
|
|
@perl -pi -e "s,\\$$\\{DESTDIR},," ${WRKSRC}/config.h
|
|
|
|
|
2002-10-28 08:40:41 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-02-21 18:31:31 -05:00
|
|
|
.include <bsd.port.mk>
|