02a9a1fc8f
ok benoit@ (MAINTAINER)
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.29 2011/07/10 09:40:57 jasper Exp $
|
|
|
|
COMMENT= convert HTML pages to PDF/PS format
|
|
|
|
V= 1.8.27
|
|
DISTNAME= htmldoc-${V}
|
|
CATEGORIES= print www
|
|
|
|
REVISION= 6
|
|
|
|
HOMEPAGE= http://www.htmldoc.org/
|
|
|
|
MAINTAINER= Benoit Lecocq <benoit@openbsd.org>
|
|
|
|
# GPLv2 with OpenSSL exception.
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c crypto m ssl z jpeg png
|
|
|
|
DISTFILES= ${DISTNAME}-source${EXTRACT_SUFX}
|
|
MASTER_SITES= ftp://ftp.easysw.com/pub/htmldoc/${V}/ \
|
|
ftp://ftp2.easysw.com/pub/htmldoc/${V}/ \
|
|
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}/
|
|
|
|
USE_GROFF = Yes
|
|
|
|
LIB_DEPENDS= graphics/jpeg \
|
|
graphics/png
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
|
CONFIGURE_ARGS+= --without-gui
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include \
|
|
-I${LOCALBASE}/include/libpng" \
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
PORTHOME= ${WRKDIR}
|
|
|
|
post-extract:
|
|
@rm -rf ${WRKSRC}/jpeg ${WRKSRC}/png ${WRKSRC}/zlib
|
|
|
|
post-configure:
|
|
@perl -pi -e "s,\\$$\\{DESTDIR},," ${WRKSRC}/config.h
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|