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