freebsd-ports/x11-toolkits/xmhtml/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

49 lines
1.4 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.7
PORTREVISION= 7
CATEGORIES= x11-toolkits www
MASTER_SITES= ${MASTER_SITE_NETBSD}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Motif widget set for displaying HTML 3.2 documents
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.10:${PORTSDIR}/graphics/jpeg
USE_AUTOTOOLS= libtool:22:env
USE_MOTIF= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
do-configure:
@${DO_NADA}
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} \
${WRKSRC}/lib/libXmHTML.la ${PREFIX}/lib
@${MKDIR} ${PREFIX}/include/XmHTML
${INSTALL_DATA} ${WRKSRC}/include/XmHTML/*.h ${PREFIX}/include/XmHTML
.if !defined(NOPORTDOCS)
@${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-
.endif
.include <bsd.port.mk>