1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/www/wb0/Makefile
2001-01-31 23:14:09 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: wb0
# Date created: 2001-01-31
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= wb0
PORTVERSION= 000324
CATEGORIES= www
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/local/clock/wb0/
EXTRACT_SUFX= .tgz
MAINTAINER= trevor@FreeBSD.org
RUN_DEPENDS= lynx:${PORTSDIR}/www/lynx-current
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
vga.1:${PORTSDIR}/graphics/svgalib \
png.4:${PORTSDIR}/graphics/png
DOCDIR= share/doc/${PORTNAME}
PLIST= ${WRKDIR}/pkg-plist
post-patch:
${PERL} -pi -e 's|/etc/wb0|${LOCALBASE}/etc|g ; \
s|/usr/local/src/wb0/font/bit|${LOCALBASE}/share/wb0/|g' \
${WRKSRC}/wb0.c
pre-install:
${ECHO} bin/wb0 > ${PLIST}
.if !defined(NOPORTDOCS)
${ECHO} ${DOCDIR}/wb0.config.README >> ${PLIST}
${ECHO} @dirrm ${DOCDIR} >> ${PLIST}
.endif
${ECHO} etc/wb0.config >> ${PLIST}
for i in `find ${PREFIX}/share/wb0 -type f`; \
do ${ECHO} share/wb0/`${BASENAME} $${i}` >> ${PLIST}; \
done
${ECHO} @dirrm share/wb0 >> ${PLIST}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${DOCDIR}/
${INSTALL_DATA} ${WRKSRC}/etc/wb0/wb0.config.README \
${PREFIX}/${DOCDIR}
.endif
.include <bsd.port.mk>