180e4b9462
The executable /usr/local/bin/links is linked against it and does not start if the xz package is not installed. ok fgsch@ dcoppa@ sthen@
51 lines
982 B
Makefile
51 lines
982 B
Makefile
# $OpenBSD: Makefile,v 1.46 2012/09/17 10:28:42 bluhm Exp $
|
|
|
|
COMMENT= graphics and text browser
|
|
|
|
VER= 2.6
|
|
REVISION= 1
|
|
DISTNAME= links-${VER}
|
|
PKGNAME= links+-${VER}
|
|
|
|
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= bz2>=10 c crypto lzma m ssl z
|
|
|
|
MASTER_SITES= ${HOMEPAGE}download/
|
|
|
|
LIB_DEPENDS= archivers/bzip2 \
|
|
archivers/xz
|
|
|
|
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+= graphics/jpeg \
|
|
graphics/png \
|
|
graphics/tiff
|
|
CONFIGURE_ARGS+= --with-x --enable-graphics
|
|
WANTLIB+= X11 jpeg>=62 png>=2 pthread-stubs tiff>=35 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>
|