mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
5186e86346
- Respect CC a bit further - Fix install when PREFIX != LOCALBASE - Better PORTDOCS handling - Utilize DATADIR macro in pkg-plist - Pet portlint(1) - Clean up Makefile and pkg-desrc Reported by: pointyhat (logs) [1]
41 lines
978 B
Makefile
41 lines
978 B
Makefile
# New ports collection makefile for: wb0
|
|
# Date created: 2001-01-31
|
|
# Whom: Trevor Johnson <trevor@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wb0
|
|
PORTVERSION= 000324
|
|
PORTREVISION= 1
|
|
CATEGORIES= www graphics
|
|
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/local/clock/wb0/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Web browser for svgalib which can show pictures
|
|
|
|
RUN_DEPENDS= lynx:${PORTSDIR}/www/lynx-current
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
vga.1:${PORTSDIR}/graphics/svgalib \
|
|
png.5:${PORTSDIR}/graphics/png
|
|
|
|
DOCS= AUTHORS Changelog README etc/wb0/wb0.config.README
|
|
PORTDOCS= ${DOCS:T}
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/etc/wb0|${LOCALBASE}/etc|g ; \
|
|
s|/usr/local/src/wb0/font/bit|${LOCALBASE}/share/wb0/|g ; \
|
|
s|^static ||' ${WRKSRC}/wb0.c
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for i in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|