openbsd-ports/www/links+/Makefile
2010-10-19 08:02:53 +00:00

51 lines
981 B
Makefile

# $OpenBSD: Makefile,v 1.39 2010/10/19 08:02:53 espie Exp $
COMMENT= graphics and text browser
VER= 2.2
DISTNAME= links-${VER}
PKGNAME= links+-${VER}
REVISION= 1
CATEGORIES= www
HOMEPAGE= http://links.twibright.com/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto m ssl z
MASTER_SITES= ${HOMEPAGE}download/
LIB_DEPENDS= bz2.>=10::archivers/bzip2
AUTOCONF_VERSION=2.13
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= --with-ssl --without-sdl
USE_GROFF = Yes
FLAVORS= no_x11
FLAVOR?=
.if !${FLAVOR:L:Mno_x11}
LIB_DEPENDS+= jpeg.>=62::graphics/jpeg \
png.>=2::graphics/png \
tiff.>=35::graphics/tiff
USE_X11= Yes
CONFIGURE_ARGS+= --with-x --enable-graphics
WANTLIB+= X11 pthread-stubs xcb
MESSAGE= ${PKGDIR}/MESSAGE.x11
.endif
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/links+
${INSTALL_DATA} ${WRKSRC}/doc/links_cal/* ${PREFIX}/share/links+
.include <bsd.port.mk>