2010-11-22 03:36:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.42 2010/11/22 08:36:49 espie Exp $
|
2002-07-24 21:56:42 -04:00
|
|
|
|
2007-10-20 07:44:23 -04:00
|
|
|
COMMENT= graphics and text browser
|
2002-07-24 21:56:42 -04:00
|
|
|
|
2008-10-10 19:08:26 -04:00
|
|
|
VER= 2.2
|
2002-07-24 21:56:42 -04:00
|
|
|
DISTNAME= links-${VER}
|
2010-07-12 18:02:27 -04:00
|
|
|
PKGNAME= links+-${VER}
|
|
|
|
REVISION= 1
|
2008-03-25 14:01:43 -04:00
|
|
|
|
2002-07-24 21:56:42 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
|
2005-09-28 01:59:36 -04:00
|
|
|
HOMEPAGE= http://links.twibright.com/
|
2002-07-24 21:56:42 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
WANTLIB= bz2>=10 c crypto m ssl z
|
2008-03-25 14:01:43 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}download/
|
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= archivers/bzip2
|
2002-07-24 21:56:42 -04:00
|
|
|
|
2006-02-01 09:57:06 -05:00
|
|
|
AUTOCONF_VERSION=2.13
|
|
|
|
CONFIGURE_STYLE= autoconf
|
2007-10-20 07:44:23 -04:00
|
|
|
CONFIGURE_ARGS+= --with-ssl --without-sdl
|
2010-10-19 04:02:53 -04:00
|
|
|
USE_GROFF = Yes
|
2002-07-24 21:56:42 -04:00
|
|
|
|
2008-03-25 14:01:43 -04:00
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2002-07-24 21:56:42 -04:00
|
|
|
.if !${FLAVOR:L:Mno_x11}
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS+= graphics/jpeg \
|
|
|
|
graphics/png \
|
|
|
|
graphics/tiff
|
2002-08-03 16:50:48 -04:00
|
|
|
CONFIGURE_ARGS+= --with-x --enable-graphics
|
2010-11-22 03:36:47 -05:00
|
|
|
WANTLIB+= X11 jpeg>=62 png>=2 pthread-stubs tiff>=35 xcb
|
2010-07-12 18:02:27 -04:00
|
|
|
MESSAGE= ${PKGDIR}/MESSAGE.x11
|
2002-07-24 21:56:42 -04:00
|
|
|
.endif
|
|
|
|
|
2005-09-28 01:59:36 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2002-07-24 21:56:42 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/links+
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/links_cal/* ${PREFIX}/share/links+
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|