2001-01-31 23:14:09 +00:00
|
|
|
# New ports collection makefile for: wb0
|
|
|
|
# Date created: 2001-01-31
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wb0
|
|
|
|
PORTVERSION= 000324
|
2004-02-04 05:10:27 +00:00
|
|
|
PORTREVISION= 1
|
2001-04-10 07:34:54 +00:00
|
|
|
CATEGORIES= www graphics
|
2001-01-31 23:14:09 +00:00
|
|
|
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/local/clock/wb0/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
2003-03-01 14:34:33 +00:00
|
|
|
COMMENT= Web browser for svgalib which can show pictures
|
2001-01-31 23:14:09 +00:00
|
|
|
|
2004-04-07 16:39:34 +00:00
|
|
|
BROKEN= incorrect packing list
|
2004-06-21 21:27:46 +00:00
|
|
|
EXPIRATION_DATE=2004-08-20
|
|
|
|
DEPRECATED= ${BROKEN}
|
2001-01-31 23:14:09 +00:00
|
|
|
RUN_DEPENDS= lynx:${PORTSDIR}/www/lynx-current
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
vga.1:${PORTSDIR}/graphics/svgalib \
|
2001-09-11 02:38:25 +00:00
|
|
|
png.5:${PORTSDIR}/graphics/png
|
2001-01-31 23:14:09 +00:00
|
|
|
|
|
|
|
DOCDIR= share/doc/${PORTNAME}
|
2001-02-24 00:04:51 +00:00
|
|
|
DOCS= AUTHORS Changelog README
|
2003-10-12 05:12:46 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2001-01-31 23:14:09 +00:00
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
|
|
|
|
post-patch:
|
2004-02-17 07:36:03 +00:00
|
|
|
@${MV} ${WRKSRC}/wb0.c ${WRKSRC}/wb0.c.orig
|
|
|
|
@${SED} -e 's|/etc/wb0|${LOCALBASE}/etc|g ; \
|
2001-01-31 23:14:09 +00:00
|
|
|
s|/usr/local/src/wb0/font/bit|${LOCALBASE}/share/wb0/|g' \
|
2004-02-17 07:36:03 +00:00
|
|
|
< ${WRKSRC}/wb0.c.orig > ${WRKSRC}/wb0.c
|
2001-01-31 23:14:09 +00:00
|
|
|
|
|
|
|
pre-install:
|
2002-01-29 12:08:37 +00:00
|
|
|
${ECHO_CMD} bin/wb0 > ${PLIST}
|
2001-01-31 23:14:09 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-02-24 00:04:51 +00:00
|
|
|
.for i in ${DOCS}
|
2002-01-29 12:08:37 +00:00
|
|
|
${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST}
|
2001-02-24 00:04:51 +00:00
|
|
|
.endfor
|
2002-01-29 12:08:37 +00:00
|
|
|
${ECHO_CMD} ${DOCDIR}/wb0.config.README >> ${PLIST}
|
|
|
|
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
|
2001-01-31 23:14:09 +00:00
|
|
|
.endif
|
2002-01-29 12:08:37 +00:00
|
|
|
${ECHO_CMD} etc/wb0.config >> ${PLIST}
|
2003-11-13 12:54:57 +00:00
|
|
|
for i in `${FIND} ${PREFIX}/share/wb0 -type f`; \
|
2002-01-29 12:08:37 +00:00
|
|
|
do ${ECHO_CMD} share/wb0/`${BASENAME} $${i}` >> ${PLIST}; \
|
2001-01-31 23:14:09 +00:00
|
|
|
done
|
2002-01-29 12:08:37 +00:00
|
|
|
${ECHO_CMD} @dirrm share/wb0 >> ${PLIST}
|
2001-01-31 23:14:09 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-02-24 00:04:51 +00:00
|
|
|
${MKDIR} ${PREFIX}/${DOCDIR}
|
|
|
|
.for i in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/wb0/wb0.config.README ${PREFIX}/${DOCDIR}
|
|
|
|
${ECHO} ${DOCDIR}/
|
2001-01-31 23:14:09 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|