45 lines
892 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.52 2015/01/01 15:19:49 bcallah Exp $
COMMENT= graphics and text browser
VER= 2.9
DISTNAME= links-${VER}
PKGNAME= links+-${VER}
CATEGORIES= www
HOMEPAGE= http://links.twibright.com/
MAINTAINER= Brian Callahan <bcallah@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= bz2 c crypto lzma m ssl z
2008-03-25 18:01:43 +00:00
MASTER_SITES= http://links.twibright.com/download/
2008-03-25 18:01:43 +00:00
LIB_DEPENDS= archivers/bzip2 \
archivers/xz
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-ssl
2010-10-19 08:02:53 +00:00
USE_GROFF = Yes
2008-03-25 18:01:43 +00:00
FLAVORS= no_x11
FLAVOR?=
.if !${FLAVOR:Mno_x11}
2010-11-22 08:36:47 +00:00
LIB_DEPENDS+= graphics/jpeg \
graphics/png \
graphics/tiff
CONFIGURE_ARGS+= --with-x --enable-graphics
WANTLIB+= X11 jpeg>=62 png>=2 tiff>=35
MESSAGE= ${PKGDIR}/MESSAGE.x11
.endif
2013-03-11 11:35:43 +00:00
NO_TEST= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/links+
${INSTALL_DATA} ${WRKSRC}/doc/links_cal/* ${PREFIX}/share/links+
.include <bsd.port.mk>