3138c7124f
based on a submission by seb@gosh.todesplanet.de urlview is a curses program for extracting URLs from text files and displaying a menu from which you can select a specific URL to view using your favorite browser program.
39 lines
947 B
Makefile
39 lines
947 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2000/08/13 00:06:21 naddy Exp $
|
|
|
|
DISTNAME= urlview-0.9
|
|
CATEGORIES= textproc
|
|
NEED_VERSION= 1.319
|
|
|
|
MAINTAINER= seb@gosh.todesplanet.de
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/contrib/ \
|
|
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/
|
|
|
|
FLAVORS= slang
|
|
FLAVOR?=
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
SUBST_VARS= SYSCONFDIR
|
|
|
|
.if ${FLAVOR:L:Mslang}
|
|
LIB_DEPENDS= slang.14::devel/libslang
|
|
CONFIGURE_ARGS= --with-slang=${LOCALBASE}
|
|
CONFIGURE_ENV= LIBS=-lcurses
|
|
.endif
|
|
|
|
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>
|