1999-02-21 04:22:20 +01:00
|
|
|
# New ports collection makefile for: xmhtml
|
|
|
|
# Date created: 18 Feb 1999
|
|
|
|
# Whom: Peter Hawkins <thepish@freebsd.org>
|
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1999-02-21 04:22:20 +01:00
|
|
|
#
|
|
|
|
|
2000-04-10 03:11:24 +02:00
|
|
|
PORTNAME= XmHTML
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTVERSION= 1.1.7
|
2009-07-18 13:11:29 +02:00
|
|
|
PORTREVISION= 7
|
1999-04-12 10:17:27 +02:00
|
|
|
CATEGORIES= x11-toolkits www
|
2006-05-12 14:44:01 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_NETBSD}
|
1999-02-21 04:22:20 +01:00
|
|
|
|
2005-11-25 23:29:24 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 15:19:11 +01:00
|
|
|
COMMENT= A Motif widget set for displaying HTML 3.2 documents
|
1999-02-21 04:22:20 +01:00
|
|
|
|
2001-09-11 05:32:41 +02:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
2009-07-18 13:11:29 +02:00
|
|
|
jpeg.10:${PORTSDIR}/graphics/jpeg
|
1999-04-20 20:51:26 +02:00
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22:env
|
2000-11-08 00:28:20 +01:00
|
|
|
USE_MOTIF= yes
|
2001-01-07 14:10:07 +01:00
|
|
|
USE_GMAKE= yes
|
2006-08-15 03:13:42 +02:00
|
|
|
USE_LDCONFIG= yes
|
2000-12-24 13:55:37 +01:00
|
|
|
|
2003-06-27 00:58:32 +02:00
|
|
|
do-configure:
|
|
|
|
@${DO_NADA}
|
|
|
|
|
2000-12-24 13:55:37 +01:00
|
|
|
post-build:
|
|
|
|
${RM} -rf ${WRKSRC}/examples/.libs ${WRKSRC}/examples/*.lo ${WRKSRC}/examples/*.o
|
|
|
|
${RM} -rf ${WRKSRC}/book/.libs ${WRKSRC}/book/*.lo ${WRKSRC}/book/*.o
|
|
|
|
${RM} -rf ${WRKSRC}/contrib/.libs ${WRKSRC}/contrib/*.lo ${WRKSRC}/contrib/*.o
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${LIBTOOL} --mode=install ${INSTALL_DATA} \
|
2001-01-07 14:10:07 +01:00
|
|
|
${WRKSRC}/lib/libXmHTML.la ${PREFIX}/lib
|
|
|
|
@${MKDIR} ${PREFIX}/include/XmHTML
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/XmHTML/*.h ${PREFIX}/include/XmHTML
|
|
|
|
.if !defined(NOPORTDOCS)
|
2008-06-15 19:09:49 +02:00
|
|
|
@${ECHO_MSG} "===> Installing docs into ${DOCSDIR}"
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${TAR} -C ${WRKSRC}/html -cpf- . | ${TAR} -C ${DOCSDIR} -xpf-
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${ECHO_MSG} "===> Installing examples into ${EXAMPLESDIR}"
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${TAR} -C ${WRKSRC} -cpf- book contrib examples | ${TAR} -C ${EXAMPLESDIR} -xpf-
|
2001-01-07 14:10:07 +01:00
|
|
|
.endif
|
1999-02-21 04:22:20 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|