1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/www/mmosaic/Makefile
Beech Rintoul 2f22de7c7a - Remove USE_X_PREFIX
- Use SF macro
- USE_XPM --> USE_XORG=xpm
- Bump portrevision
2008-03-21 22:06:15 +00:00

53 lines
1.5 KiB
Makefile

# New ports collection makefile for: mmosaic
# Date created: 2000-12-26
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= mmosaic
PORTVERSION= 3.7.2
PORTREVISION?= 3
CATEGORIES= www
MASTER_SITES= ftp://ftp.enst.fr/pub/mbone/mMosaic/ \
ftp://ftp.uni-koeln.de/net/inet/WWW/mosaic/unix/ \
ftp://ftp.netsw.org/infosys/www/clientside/browser/mosaic/
DISTNAME= mMosaic-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Web browser based on Mosaic, but with many modernizations
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
RESTRICTED= "academic, research and internal business purposes only, without a fee"
PLIST= ${WRKDIR}/pkg-plist
USE_MOTIF= yes
WRKSRC= ${WRKDIR}/mMosaic-src-${PORTVERSION}
post-patch:
.for ii in libhtmlw/HTML-PSformat.c libhtmlw/HTML.c libhtmlw/HTMLcolors.c \
libmc/mc_obj.c libnut/list.c src/proxy-dialogs.c
${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig
${GREP} -v malloc.h ${WRKSRC}/${ii}.orig > ${WRKSRC}/${ii}
.endfor
pre-install:
${ECHO_CMD} bin/mmosaic > ${PLIST}
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/Copyrights; for i in `${FIND} * -type f`; do \
${ECHO_CMD} %%DOCSDIR%%/$${i} >> ${PLIST}; \
done
${ECHO_CMD} @dirrm %%DOCSDIR%% >> ${PLIST}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mMosaic ${PREFIX}/bin/mmosaic
# ${INSTALL_DATA} ${WRKSRC}/app-def/app-defaults.color ${PREFIX}/lib/X11/app-defaults/mMosaic
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Copyrights/* ${DOCSDIR}/
.endif
.include <bsd.port.mk>