aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/urlview/Makefile
blob: 8bb7c587f8496ae0255ea2e4614faf2aa6cb1988 (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
# 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=   7
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/

MAINTAINER= mexas@bristol.ac.uk
COMMENT=    URL extractor/launcher

GNU_CONFIGURE=  yes
MAN1=       urlview.1
PLIST_FILES=    bin/urlview \
        etc/urlview.conf.sample

post-patch:
    @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
        -e 's/url_handler.sh/firefox/' \
        ${WRKSRC}/*

post-install:
    ${INSTALL_DATA} ${WRKSRC}/sample.urlview \
        ${PREFIX}/etc/urlview.conf.sample

.include <bsd.port.mk>