1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/x11-toolkits/xmhtml/Makefile
2021-04-06 16:31:07 +02:00

44 lines
1.1 KiB
Makefile

# Created by: Peter Hawkins <thepish@FreeBSD.org>
PORTNAME= XmHTML
PORTVERSION= 1.1.10
CATEGORIES= x11-toolkits www
MASTER_SITES= SF/${PORTNAME:tl}
MAINTAINER= ports@FreeBSD.org
COMMENT= Motif widget set for displaying HTML 3.2 documents
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
LIB_DEPENDS= libpng.so:graphics/png
USES= gmake jpeg libtool:build motif pkgconfig tar:tgz xorg
USE_XORG= xft xmu xpm xt
USE_LDCONFIG= yes
LIBTOOL= libtool
MAKE_ENV= LIBTOOL=${LIBTOOL}
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
(cd ${WRKSRC}/lib && ${LIBTOOL} --mode=install ${INSTALL_DATA} \
libXmHTML.la ${STAGEDIR}${PREFIX}/lib)
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libXmHTML.so
@${MKDIR} ${STAGEDIR}${PREFIX}/include/XmHTML
${INSTALL_DATA} ${WRKSRC}/include/XmHTML/*.h \
${STAGEDIR}${PREFIX}/include/XmHTML
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/html && ${COPYTREE_SHARE} . \
${STAGEDIR}${DOCSDIR})
do-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "book contrib examples" \
${STAGEDIR}${EXAMPLESDIR} "! -name Makefile"
.include <bsd.port.mk>