2004-12-06 19:23:20 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2004/12/07 00:23:24 alek Exp $
|
2001-05-06 00:11:38 -04:00
|
|
|
|
|
|
|
COMMENT= "curses-based URL ripper"
|
2000-08-12 20:06:21 -04:00
|
|
|
|
|
|
|
DISTNAME= urlview-0.9
|
|
|
|
CATEGORIES= textproc
|
2002-12-22 18:41:13 -05:00
|
|
|
MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \
|
2000-09-06 01:48:47 -04:00
|
|
|
ftp://ftp.cs.hmc.edu/pub/me/ \
|
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/net/mail/mutt/ \
|
|
|
|
ftp://ftp.ilog.fr/pub/Mirrors/mutt/contrib/ \
|
|
|
|
ftp://ftp.etri.re.kr/pub/mail/mutt/ \
|
|
|
|
ftp://ftp.pnm.net/pub/unix/mutt/contrib/
|
2000-08-12 20:06:21 -04:00
|
|
|
|
2003-11-15 10:12:53 -05:00
|
|
|
# GPL
|
2000-08-12 20:06:21 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-06 19:23:20 -05:00
|
|
|
WANTLIB= c ncurses
|
2000-08-12 20:06:21 -04:00
|
|
|
|
2000-09-06 01:48:47 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-08-12 20:06:21 -04:00
|
|
|
|
2001-11-10 10:44:57 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-08-12 20:06:21 -04:00
|
|
|
FLAVORS= slang
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mslang}
|
|
|
|
LIB_DEPENDS= slang.14::devel/libslang
|
|
|
|
CONFIGURE_ARGS= --with-slang=${LOCALBASE}
|
|
|
|
CONFIGURE_ENV= LIBS=-lcurses
|
|
|
|
.endif
|
|
|
|
|
2003-09-23 11:49:49 -04:00
|
|
|
pre-build:
|
|
|
|
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," ${WRKSRC}/urlview.c
|
2004-04-13 16:23:59 -04:00
|
|
|
@perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/urlview.man
|
2003-09-23 11:49:49 -04:00
|
|
|
|
2000-08-12 20:06:21 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/urlview
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.urlview ${WRKSRC}/url_handler.sh \
|
|
|
|
${PREFIX}/share/examples/urlview
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|