ce5f13cdff
fgsch@ pval@ ok
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2003/06/12 13:47:44 brad Exp $
|
|
|
|
COMMENT= "graphics and text browser with javascript support"
|
|
|
|
VER= 2.1pre11
|
|
DISTNAME= links-${VER}
|
|
PKGNAME= links+-${VER}
|
|
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
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
CONFIGURE_ARGS+= --enable-javascript --with-ssl
|
|
|
|
.if !${FLAVOR:L:Mno_x11}
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg \
|
|
png.2::graphics/png \
|
|
tiff.35::graphics/tiff
|
|
USE_X11= Yes
|
|
CONFIGURE_ARGS+= --with-x --enable-graphics
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
.endif
|
|
|
|
pre-configure:
|
|
cp ${FILESDIR}/auth.c ${WRKSRC}
|
|
cd ${WRKSRC}/intl && /bin/sh synclang
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/links+
|
|
${INSTALL_DATA} ${WRKSRC}/doc/links_cal/* ${PREFIX}/share/links+
|
|
|
|
.include <bsd.port.mk>
|