1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/textproc/urlview/Makefile
David E. O'Brien 7b79409f48 Use ${REINPLACE_CMD} instead of ${PERL}.
Properly adjust urlview.conf path for ${PREFIX}.

PR:		58038
Submitted by:	Simon Barner <barner@in.tum.de> (reworked by me)
2003-10-15 16:59:12 +00:00

36 lines
849 B
Makefile

# 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= 1
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
USE_REINPLACE= yes
GNU_CONFIGURE= yes
MAN1= urlview.1
post-patch:
@${REINPLACE_CMD} -e "s,!!PREFIX!!,${PREFIX},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.mk>