1999-02-21 03:22:20 +00:00
|
|
|
# New ports collection makefile for: xmhtml
|
|
|
|
# Version required: 1.69
|
|
|
|
# Date created: 18 Feb 1999
|
|
|
|
# Whom: Peter Hawkins <thepish@freebsd.org>
|
|
|
|
#
|
1999-05-10 14:56:04 +00:00
|
|
|
# $Id: Makefile,v 1.5 1999/05/02 08:32:58 mharo Exp $
|
1999-02-21 03:22:20 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= XmHTML-1.1.0
|
1999-04-12 08:17:27 +00:00
|
|
|
CATEGORIES= x11-toolkits www
|
1999-02-21 03:22:20 +00:00
|
|
|
MASTER_SITES= ftp://crl.nmsu.edu/pub/XmHTML/ \
|
|
|
|
ftp://ftp.ist.co.uk/pub/motif/XmHTML/ \
|
|
|
|
ftp://ftp.nerdnet.nl/pub/X11/Widgets/XmHTML/
|
|
|
|
|
|
|
|
PATCH_SITES= ftp://crl.nmsu.edu/pub/XmHTML/
|
|
|
|
PATCHFILES= patch-102697.gz
|
|
|
|
|
|
|
|
MAINTAINER= thepish@freebsd.org
|
|
|
|
|
1999-04-20 18:51:26 +00:00
|
|
|
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
|
1999-02-21 03:22:20 +00:00
|
|
|
REQUIRES_MOTIF= yes
|
|
|
|
USE_IMAKE= yes
|
1999-05-10 14:56:04 +00:00
|
|
|
XMKMF= PORTOBJFORMAT=${PORTOBJFORMAT} xmkmf -a
|
1999-02-21 03:22:20 +00:00
|
|
|
|
|
|
|
EXMP_DIR= ${PREFIX}/share/examples/${DISTNAME}/
|
|
|
|
DOCS_DIR= ${PREFIX}/share/doc/${DISTNAME}/
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${ECHO} "installing examples into ${EXMP_DIR}"
|
|
|
|
@ ${MKDIR} ${EXMP_DIR}
|
|
|
|
@ tar -C ${WRKSRC} -cpf- book contrib examples|tar -xvpf- -C ${EXMP_DIR}
|
|
|
|
${ECHO} "installing docs into ${DOCS_DIR}"
|
|
|
|
@ ${MKDIR} ${DOCS_DIR}
|
|
|
|
@ (cd ${WRKSRC}/html; tar -cpf- * | tar -xvpf- -C ${DOCS_DIR} )
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|