1999-04-09 22:50:54 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 1999/04/10 02:50:54 marc Exp $
|
1997-12-06 15:44:45 -05:00
|
|
|
|
1999-02-23 23:29:05 -05:00
|
|
|
DISTNAME= wget-1.5.3
|
1997-12-06 15:44:45 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-02-23 23:29:05 -05:00
|
|
|
MASTER_SITE_SUBDIR= wget
|
1997-12-06 15:44:45 -05:00
|
|
|
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
|
1999-03-31 16:46:19 -05:00
|
|
|
LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext
|
|
|
|
|
1997-12-06 15:44:45 -05:00
|
|
|
GNU_CONFIGURE= yes
|
1999-03-31 17:24:39 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I/usr/local/include" \
|
|
|
|
LDFLAGS="-L/usr/local/lib"
|
1999-03-29 16:03:00 -05:00
|
|
|
|
|
|
|
pre-configure:
|
1999-04-09 22:50:54 -04:00
|
|
|
@${RM} ${WRKSRC}/doc/wget.info*
|
1997-12-06 15:44:45 -05:00
|
|
|
|
|
|
|
post-install:
|
1999-04-09 22:50:54 -04:00
|
|
|
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
1997-12-06 15:44:45 -05:00
|
|
|
sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
|
|
fi
|
1999-03-31 17:24:39 -05:00
|
|
|
@install-info ${PREFIX}/info/wget.info ${PREFIX}/info/dir
|
1999-04-09 22:50:54 -04:00
|
|
|
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
1999-03-31 17:24:39 -05:00
|
|
|
|
1997-12-06 15:44:45 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|