freebsd-ports/x11-toolkits/xmhtml/Makefile
Satoshi Asami 7112ba2b40 Change motif to a normal dependency. REQUIRES_MOTIF is now called
USE_MOTIF and generates a LIB_DEPENDS to x11-toolkits/open-motif.  As
before, it implies USE_XPM (and therefore USE_XLIB).  Motif-dummy is
removed from PKG_IGNORE_DEPENDS, whose sole resident is now XFree86-3.

Most of the simple ".if defined(HAVE_MOTIF)"s are removed to always
have USE_MOTIF.  ftp/moxftp will define USE_MOTIF unless
WANT_ATHENA_VERSION (new variable) is defined.  I merged the X cases
in cad/mars, so USE_MOTIF is used iff WITHOUT_X11 is not defined.

I will remove x11-toolkits/Motif-dummy (which has been repo copied to
open-motif) in a few days.
2000-11-07 23:28:20 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: xmhtml
# Date created: 18 Feb 1999
# Whom: Peter Hawkins <thepish@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= XmHTML
PORTVERSION= 1.1.0
CATEGORIES= x11-toolkits www
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
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
USE_MOTIF= yes
USE_IMAKE= yes
XMKMF= PORTOBJFORMAT=${PORTOBJFORMAT} xmkmf -a
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>