View | Details | Raw Unified | Return to bug 147702
Collapse All | Expand All

(-)Makefile (-11 / +16 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	links
8
PORTNAME=	links
9
DISTVERSION=	2.2
9
DISTVERSION=	2.2
10
PORTREVISION=	4
10
PORTREVISION=	5
11
PORTEPOCH=	1
11
PORTEPOCH=	1
12
CATEGORIES?=	www
12
CATEGORIES?=	www
13
MASTER_SITES=	http://links.twibright.com/download/
13
MASTER_SITES=	http://links.twibright.com/download/
Lines 31-50 Link Here
31
USE_OPENSSL=	yes
31
USE_OPENSSL=	yes
32
USE_BZIP2=	yes
32
USE_BZIP2=	yes
33
33
34
DESKTOP_ENTRIES="links" \
35
		"Lynx-like text WWW browser" \
36
		"${DATADIR}/links.xpm" \
37
		"links -g" \
38
		"Application;Network;WebBrowser;" \
39
		${FALSE}
40
41
OPTIONS=	SVGALIB "non-X11 graphics support" off \
34
OPTIONS=	SVGALIB "non-X11 graphics support" off \
42
		DIRECTFB "directfb driver support" off \
35
		DIRECTFB "directfb driver support" off \
43
		X11 "X11 graphics support" on \
36
		X11 "X11 graphics support" on \
44
		UTF8 "With gentoo utf-8 patch" on \
37
		UTF8 "With gentoo utf-8 patch" on \
45
		TRANS "Hack for background transparency" off
38
		TRANS "Hack for background transparency" off
46
39
47
.include <bsd.port.pre.mk>
40
.include <bsd.port.options.mk>
48
41
49
.ifdef(WITH_SVGALIB) || defined(WITH_X11) || defined(WITH_DIRECTFB)
42
.ifdef(WITH_SVGALIB) || defined(WITH_X11) || defined(WITH_DIRECTFB)
50
LIB_DEPENDS+=	png.6:${PORTSDIR}/graphics/png \
43
LIB_DEPENDS+=	png.6:${PORTSDIR}/graphics/png \
Lines 72-77 Link Here
72
.if !defined(WITHOUT_X11)
65
.if !defined(WITHOUT_X11)
73
USE_XORG=	x11 xproto
66
USE_XORG=	x11 xproto
74
CONFIGURE_ARGS+=	--with-x
67
CONFIGURE_ARGS+=	--with-x
68
DESKTOP_ENTRIES="links" \
69
		"Lynx-like text WWW browser" \
70
		"links" \
71
		"links -g" \
72
		"Application;Network;WebBrowser;" \
73
		false
74
PLIST_FILES+=	share/pixmaps/links.xpm
75
.else
75
.else
76
CONFIGURE_ARGS+=	--without-x
76
CONFIGURE_ARGS+=	--without-x
77
.endif
77
.endif
Lines 87-95 Link Here
87
.endif
87
.endif
88
88
89
MAN1=		links.1
89
MAN1=		links.1
90
PLIST_FILES=	bin/links
90
PLIST_FILES+=	bin/links
91
91
92
post-patch:
92
post-patch:
93
	@${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/os_dep.h
93
	@${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/os_dep.h
94
94
95
.include <bsd.port.post.mk>
95
.if !defined(WITHOUT_X11)
96
post-install:
97
	@${INSTALL} ${WRKSRC}/graphics/links.xpm ${PREFIX}/share/pixmaps/links.xpm
98
.endif
99
100
.include <bsd.port.mk>

Return to bug 147702