2011-11-03 16:13:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2011/11/03 20:13:20 jasper Exp $
|
2001-05-06 00:11:38 -04:00
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= curses-based URL ripper
|
2000-08-12 20:06:21 -04:00
|
|
|
|
|
|
|
DISTNAME= urlview-0.9
|
2011-11-03 16:13:20 -04:00
|
|
|
REVISION= 4
|
2000-08-12 20:06:21 -04:00
|
|
|
CATEGORIES= textproc
|
2009-12-23 17:04:18 -05:00
|
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/contrib/ \
|
|
|
|
ftp://ftp.mutt.org/mutt/contrib/ \
|
|
|
|
ftp://ftp.gbnet.net/pub/mutt-international/contrib/ \
|
|
|
|
ftp://ftp.gwdg.de/pub/unix/mail/mutt/international/contrib/
|
|
|
|
|
|
|
|
# GPLv2
|
2000-08-12 20:06:21 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-11-03 16:13:20 -04:00
|
|
|
WANTLIB= c
|
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
|
|
|
|
2010-10-19 03:54:21 -04:00
|
|
|
USE_GROFF = Yes
|
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}
|
2011-05-04 10:00:13 -04:00
|
|
|
WANTLIB+= slang curses m
|
2010-11-20 14:56:47 -05:00
|
|
|
LIB_DEPENDS= devel/libslang
|
2000-08-12 20:06:21 -04:00
|
|
|
CONFIGURE_ARGS= --with-slang=${LOCALBASE}
|
|
|
|
CONFIGURE_ENV= LIBS=-lcurses
|
2011-11-03 16:13:20 -04:00
|
|
|
.else
|
|
|
|
WANTLIB+= ncurses
|
2000-08-12 20:06:21 -04:00
|
|
|
.endif
|
|
|
|
|
2003-09-23 11:49:49 -04:00
|
|
|
pre-build:
|
2009-12-23 17:04:18 -05:00
|
|
|
${SUBST_CMD} ${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>
|