blob: 43430b5936908141c5320bc68ce34820af9ac302 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# ex:ts=8
# Ports collection makefile for: urlview
# Date created: 21 April 1998
# Whom: Josh Gilliam <josh@quick.net>
#
# $FreeBSD$
#
PORTNAME= urlview
PORTVERSION= 0.9
PORTREVISION= 3
CATEGORIES= textproc www
MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \
ftp://ftp.sunsite.auc.dk/pub/mail/mutt/contrib/ \
ftp://ftp.cs.tu-berlin.de/pub/net/mail/mutt/contrib/
#PATCH_SITES= http://feeding.frenzy.com/~rainking/
#PATCHFILES= urlview.diff
MAINTAINER= obrien@FreeBSD.org
COMMENT= URL extractor/launcher
GNU_CONFIGURE= yes
MAN1= urlview.1
SUB_FILES= gecko.sh
SUB_LIST= GECKO=${GECKO}
.include <bsd.port.pre.mk>
.if defined(WITH_GECKO)
USE_GECKO= firefox firefox-devel seamonkey mozilla
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
.else
GECKO= firefox
.endif
post-patch:
@${REINPLACE_CMD} -e "s,!!PREFIX!!,${PREFIX},g" \
-e "s,/usr/X11R6,${X11BASE},g" ${WRKSRC}/url_handler.sh
@${REINPLACE_CMD} -e \
"s,/etc/urlview.conf,${PREFIX}/etc/urlview.conf,g" ${WRKSRC}/*
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/url_handler.sh ${PREFIX}/bin
.include <bsd.port.post.mk>
|