2007-09-15 16:38:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2007/09/15 20:38:21 merdely Exp $
|
2002-07-24 21:56:42 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= graphics and text browser with javascript support
|
2002-07-24 21:56:42 -04:00
|
|
|
|
2007-04-14 10:35:42 -04:00
|
|
|
VER= 2.1pre28
|
2002-07-24 21:56:42 -04:00
|
|
|
DISTNAME= links-${VER}
|
2007-08-08 10:42:26 -04:00
|
|
|
PKGNAME= links+-${VER}p0
|
2002-07-24 21:56:42 -04:00
|
|
|
CATEGORIES= www
|
2005-10-12 00:02:22 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}download/
|
2002-07-24 21:56:42 -04:00
|
|
|
|
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
|
2007-08-08 10:42:26 -04:00
|
|
|
WANTLIB= c crypto m ssl z
|
2002-07-24 21:56:42 -04:00
|
|
|
|
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2006-02-01 09:57:06 -05:00
|
|
|
AUTOCONF_VERSION=2.13
|
|
|
|
CONFIGURE_STYLE= autoconf
|
2005-03-14 02:05:09 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-javascript --with-ssl --without-sdl
|
2002-07-24 21:56:42 -04:00
|
|
|
|
|
|
|
.if !${FLAVOR:L:Mno_x11}
|
2006-08-03 20:10:42 -04:00
|
|
|
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
|
|
|
|
png.>=2::graphics/png \
|
|
|
|
tiff.>=35::graphics/tiff
|
2003-03-31 09:49:13 -05:00
|
|
|
USE_X11= Yes
|
2002-08-03 16:50:48 -04:00
|
|
|
CONFIGURE_ARGS+= --with-x --enable-graphics
|
2007-08-08 10:42:26 -04:00
|
|
|
WANTLIB+= X11
|
2002-07-24 21:56:42 -04:00
|
|
|
.endif
|
2007-08-08 10:42:26 -04:00
|
|
|
LIB_DEPENDS+= bz2.>=10::archivers/bzip2
|
2002-07-24 21:56:42 -04:00
|
|
|
|
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>
|