2005-03-14 02:05:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2005/03/14 07:05:09 alek Exp $
|
2002-07-24 21:56:42 -04:00
|
|
|
|
|
|
|
COMMENT= "graphics and text browser with javascript support"
|
|
|
|
|
2005-02-24 17:24:55 -05:00
|
|
|
VER= 2.1pre16
|
2002-07-24 21:56:42 -04:00
|
|
|
DISTNAME= links-${VER}
|
2003-06-12 09:47:44 -04:00
|
|
|
PKGNAME= links+-${VER}
|
2002-07-24 21:56:42 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/
|
|
|
|
|
|
|
|
MAINTAINER= Federico G. Schwindt <fgsch@openbsd.org>
|
|
|
|
|
|
|
|
HOMEPAGE= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-11 08:29:20 -05:00
|
|
|
WANTLIB= c crypto m ssl
|
2002-07-24 21:56:42 -04:00
|
|
|
|
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2005-02-24 17:24:55 -05:00
|
|
|
AUTOCONF_VERSION= 2.13
|
2002-12-17 03:09:23 -05:00
|
|
|
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}
|
2002-08-03 16:50:48 -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
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2004-12-11 08:29:20 -05:00
|
|
|
WANTLIB+= X11 z
|
2002-07-24 21:56:42 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/links+
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/links_cal/* ${PREFIX}/share/links+
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|