1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/x11-toolkits/xmhtml/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: xmhtml
# Date created: 18 Feb 1999
# Whom: Peter Hawkins <thepish@freebsd.org>
#
1999-08-31 03:04:38 +00:00
# $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 \
1999-04-20 18:51:26 +00:00
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>