mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
b2fd75e438
* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5 * upgrade repo-copied devel/libtool14 to 1.4.3 * break out libltdl into its own separate port * move to version-numbered binaries/scripts (ie: there is *no* 'libtool' any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends) Approved by: portmgr (kris) - for the bsd.port.mk hooks Tested by: bento 4-exp builds (repeatedly)
56 lines
1.5 KiB
Makefile
56 lines
1.5 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= 1
|
|
CATEGORIES= x11-toolkits www
|
|
MASTER_SITES= http://www.xs4all.nl/~ripley/XmHTML/dist/
|
|
|
|
MAINTAINER= Lars.Koeller@Uni-Bielefeld.de
|
|
COMMENT= A Motif widget set for displaying HTML 3.2 documents
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
USE_LIBTOOL= yes
|
|
LIBTOOLFILES= # none
|
|
USE_MOTIF= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
MAKE_ENV= CC="${LIBTOOL} ${CC}"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
EXMP_DIR= ${PREFIX}/share/examples/${PORTNAME}
|
|
DOCS_DIR= ${PREFIX}/share/doc/${PORTNAME}
|
|
|
|
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
|
|
${RM} -f ${PREFIX}/lib/libXmHTML.la
|
|
@${MKDIR} ${PREFIX}/include/XmHTML
|
|
${INSTALL_DATA} ${WRKSRC}/include/XmHTML/*.h ${PREFIX}/include/XmHTML
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO_MSG} "===> Installing examples into ${EXMP_DIR}"
|
|
@${MKDIR} ${EXMP_DIR}
|
|
${TAR} -C ${WRKSRC} -cpf- book contrib examples | \
|
|
${TAR} -C ${EXMP_DIR} -xpf-
|
|
@${ECHO_MSG} "===> Installing docs into ${DOCS_DIR}"
|
|
@${MKDIR} ${DOCS_DIR}
|
|
${TAR} -C ${WRKSRC}/html -cpf- . | ${TAR} -C ${DOCS_DIR} -xpf-
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|