1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/textproc/openjade/Makefile
Baptiste Daroussin 963854440c Add a new keywork xmlcatmgr
It simplifies the handling of the XML and SMGL catalog
It brings a big of consistency by always specifying the catalog path absolute
instead of mixing absolute and relative path.
The keyword is also written a PKG_ROOTDIR friendly to simplify cross installing

Reviewed by:	hrs
Differential Revision:	https://reviews.freebsd.org/D6539
2016-05-24 22:32:49 +00:00

40 lines
1.1 KiB
Makefile

# Created by: kuriyama
# $FreeBSD$
PORTNAME= openjade
PORTVERSION= 1.3.3p1
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.3.3
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/-pre/}
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Object-oriented SGML/XML parser toolkit and DSSSL engine
LIB_DEPENDS= libosp.so:textproc/opensp
RUN_DEPENDS= ${XMLCATMGR}:textproc/xmlcatmgr
USES= gettext gmake libtool perl5
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \
--datadir=${DATADIR}
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install install-man
MAKE_ENV= STRIP="${STRIP}"
PLIST_SUB= XMLCATMGR=${XMLCATMGR} \
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
DATADIR= ${PREFIX}/share/sgml/openjade
post-patch:
@${REINPLACE_CMD} -e 's|<iostream.h>|<iostream>|' ${WRKSRC}/style/MultiLineInlineNote.cxx
post-install:
@${FIND} ${WRKSRC}/dsssl -type f -depth 1 -exec ${INSTALL_DATA} {} ${STAGEDIR}/${DATADIR} \;
.include <bsd.port.mk>