2000-04-03 16:54:50 -04:00
|
|
|
# New ports collection makefile for: xlHtml
|
|
|
|
# Date created: 27 March 2000
|
2000-05-17 07:18:29 -04:00
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-04-03 16:54:50 -04:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 17:54:47 -04:00
|
|
|
PORTNAME= xlhtml
|
2001-06-13 07:06:00 -04:00
|
|
|
PORTVERSION= 0.2.9.7
|
2000-04-03 16:54:50 -04:00
|
|
|
CATEGORIES= textproc
|
2000-06-12 06:41:02 -04:00
|
|
|
MASTER_SITES= http://www.xlhtml.org/
|
2000-04-09 17:54:47 -04:00
|
|
|
DISTNAME= xlHtml-${PORTVERSION}
|
2000-04-03 16:54:50 -04:00
|
|
|
|
2000-05-17 07:18:29 -04:00
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
2000-04-03 16:54:50 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= cole.2:${PORTSDIR}/textproc/cole
|
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
2000-07-24 04:55:22 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/cole"
|
|
|
|
|
2001-01-17 08:03:35 -05:00
|
|
|
MAN1= pptHtml.1 xlHtml.1
|
|
|
|
|
2000-07-24 04:55:22 -04:00
|
|
|
pre-build:
|
|
|
|
@${RM} -f ${WRKSRC}/cole.h
|
|
|
|
@find ${WRKSRC} -type f | xargs ${GREP} -l '\.\./cole\.h' | \
|
|
|
|
xargs ${PERL} -pi -e 's|\.\./cole\.h|cole/cole.h|g'
|
2000-04-03 16:54:50 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
(cd ${WRKSRC}/xlHtml && ${MAKE} ${INSTALL_TARGET})
|
|
|
|
(cd ${WRKSRC}/pptHtml && ${MAKE} ${INSTALL_TARGET})
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/xlHtml
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xlHtml/README \
|
|
|
|
${PREFIX}/share/doc/xlHtml/README.xlHtml
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/pptHtml/README \
|
|
|
|
${PREFIX}/share/doc/xlHtml/README.pptHtml
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|