openbsd-ports/www/xmhtml/Makefile

46 lines
1.3 KiB
Makefile
Raw Normal View History

2011-09-16 08:00:05 -04:00
# $OpenBSD: Makefile,v 1.19 2011/09/16 12:00:09 espie Exp $
# $FreeBSD: ports/x11-toolkits/xmhtml/Makefile,v 1.15 2001/06/29 05:19:06 lkoeller Exp $
# Original from: Peter Hawkins <thepish@freebsd.org>
COMMENT= Motif widget capable of displaying HTML 3.2 conforming text
DISTNAME= XmHTML-1.1.7
2010-11-11 07:35:09 -05:00
PKGNAME= ${DISTNAME:L}
2011-09-16 08:00:05 -04:00
REVISION= 6
CATEGORIES= www x11
SHARED_LIBS= XmHTML 1.2
2003-10-18 15:44:41 -04:00
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= ${RUN_DEPENDS}
2010-11-22 03:36:47 -05:00
RUN_DEPENDS= graphics/jpeg \
graphics/png \
x11/openmotif
2001-10-31 15:09:18 -05:00
NO_REGRESS= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
EXMP_DIR= ${PREFIX}/share/examples/XmHTML
DOCS_DIR= ${PREFIX}/share/doc/XmHTML
do-install:
${LIBTOOL} --mode=install ${INSTALL_DATA} \
${WRKSRC}/lib/libXmHTML.la ${PREFIX}/lib
${INSTALL_DATA_DIR} ${PREFIX}/include/XmHTML
${INSTALL_DATA} ${WRKSRC}/include/XmHTML/*.h ${PREFIX}/include/XmHTML
${INSTALL_DATA_DIR} ${EXMP_DIR}
${TAR} -C ${WRKSRC} -cpf- book contrib examples | \
${TAR} -C ${EXMP_DIR} -xpf-
${INSTALL_DATA_DIR} ${DOCS_DIR}
${TAR} -C ${WRKSRC}/html -cpf- . | ${TAR} -C ${DOCS_DIR} -xpf-
2006-11-10 18:51:20 -05:00
chown -R ${SHAREOWN}:${SHAREGRP} ${EXMP_DIR}/* ${DOCS_DIR}/*
chown -h ${SHAREOWN}:${SHAREGRP} ${EXMP_DIR}/examples/gif_decode.c
.include <bsd.port.mk>