freebsd-ports/textproc/urlview/Makefile
Beat Gaetzi f85d2e36ae - Replace optional SeaMonkey 1.1 dependency with dependency on SeaMonkey 2.
- While I'm here, replace Firefox RUN_DEPENDS line with USE_FIREFOX.

With hat:	gecko
Feature safe:	yes
2011-01-14 14:26:06 +00:00

48 lines
1.1 KiB
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= 6
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= ports@FreeBSD.org
COMMENT= URL extractor/launcher
GNU_CONFIGURE= yes
MAN1= urlview.1
SUB_FILES= gecko.sh
SUB_LIST= GECKO=${GECKO}
.if defined(WITH_FIREFOX)
USE_FIREFOX= 36
GECKO= firefox3
.elif defined(WITH_SEAMONKEY)
USE_SEAMONKEY= 20
GECKO= seamonkey
.endif
.include <bsd.port.pre.mk>
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 ${WRKDIR}/gecko.sh \
${PREFIX}/bin
.include <bsd.port.post.mk>