summaryrefslogtreecommitdiffstats
path: root/www/links/Makefile
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2002-06-28 11:35:38 +0000
committerdemon <demon@FreeBSD.org>2002-06-28 11:35:38 +0000
commit6115c4e12464c77b986ff919a6ff1b9812bf08af (patch)
treea34314df38657bf654ba65738954eed35cf27cd6 /www/links/Makefile
parentccc1a75cf4943b6455e98a226f8f6d855735f42e (diff)
downloadFreeBSD-ports-6115c4e12464c77b986ff919a6ff1b9812bf08af.zip
FreeBSD-ports-6115c4e12464c77b986ff919a6ff1b9812bf08af.tar.gz
Update to version 2.0.
Now with graphics mode support. PR: 39903 Submitted by: matthias.andree@web.de (with numerious modifications).
Diffstat (limited to 'www/links/Makefile')
-rw-r--r--www/links/Makefile27
1 files changed, 21 insertions, 6 deletions
diff --git a/www/links/Makefile b/www/links/Makefile
index d6a9587..dcc49fe 100644
--- a/www/links/Makefile
+++ b/www/links/Makefile
@@ -6,21 +6,36 @@
#
PORTNAME= links
-PORTVERSION= 0.97
-PORTREVISION= 1
+PORTVERSION= 2.0
PORTEPOCH= 1
CATEGORIES= www
-MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/ \
- http://ice.dammit.lt/links/download/ \
- http://links.sourceforge.net/download/ \
- ftp://ftp.fu-berlin.de/unix/network/www/links/
+MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/
MAINTAINER= demon@FreeBSD.org
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-javascript --with-ssl --without-svgalib
USE_OPENSSL= yes
+USE_BZIP2= yes
+
+.if !defined(WITHOUT_X11)
+LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
+ jpeg.9:${PORTSDIR}/graphics/jpeg \
+ tiff.4:${PORTSDIR}/graphics/tiff
+USE_XLIB= yes
+CONFIGURE_ARGS+= --enable-graphics --with-x
+.endif
MAN1= links.1
+pre-everything::
+ @${ECHO_MSG} "Define WITHOUT_X11 to disable graphics support."
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/links_cal/* ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud