summaryrefslogtreecommitdiffstats
path: root/textproc/scrollkeeper/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-11-11 15:09:52 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-11-11 15:09:52 +0800
commit36e2d538634e4d55754964df663e74ee8fa465c0 (patch)
treeea20045d83398ff35f30a2053791cf23529075a5 /textproc/scrollkeeper/Makefile
parent0358eaa8630a0402308d8e4f50ee688c40e3122a (diff)
downloadmarcuscom-ports-36e2d538634e4d55754964df663e74ee8fa465c0.tar
marcuscom-ports-36e2d538634e4d55754964df663e74ee8fa465c0.tar.gz
marcuscom-ports-36e2d538634e4d55754964df663e74ee8fa465c0.tar.bz2
marcuscom-ports-36e2d538634e4d55754964df663e74ee8fa465c0.tar.lz
marcuscom-ports-36e2d538634e4d55754964df663e74ee8fa465c0.tar.xz
marcuscom-ports-36e2d538634e4d55754964df663e74ee8fa465c0.tar.zst
marcuscom-ports-36e2d538634e4d55754964df663e74ee8fa465c0.zip
Update to using docbook-xml (4.2) instead of docbook-sk (4.1.2). Scrollkeeper
has been able to use both, and has preferred 4.2 for a while now. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7903 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/scrollkeeper/Makefile')
-rw-r--r--textproc/scrollkeeper/Makefile60
1 files changed, 60 insertions, 0 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile
new file mode 100644
index 000000000..a940b888d
--- /dev/null
+++ b/textproc/scrollkeeper/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: scrollkeeper
+# Date created: 6 April 2001
+# Whom: Rene Hexel <rh@netbsd.org>
+#
+# $FreeBSD: ports/textproc/scrollkeeper/Makefile,v 1.52 2006/10/14 08:35:42 marcus Exp $
+# $MCom: ports/textproc/scrollkeeper/Makefile,v 1.2 2006/09/10 00:51:13 mezz Exp $
+
+PORTNAME= scrollkeeper
+PORTVERSION= 0.3.14
+PORTREVISION= 6
+PORTEPOCH= 1
+CATEGORIES= textproc gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.3
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= An Open Document Cataloging Project
+
+BUILD_DEPENDS= intltool-extract:${PORTSDIR}/textproc/intltool \
+ ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
+ ${LOCALBASE}/share/xml/docbook/${DOCBOOK_VERSION}/catalog.xml:${PORTSDIR}/textproc/docbook-xml
+RUN_DEPENDS= intltool-extract:${PORTSDIR}/textproc/intltool \
+ ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
+ ${LOCALBASE}/share/xml/docbook/${DOCBOOK_VERSION}/catalog.xml:${PORTSDIR}/textproc/docbook-xml
+
+DOCBOOK_VERSION=4.2
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_BISON= yes
+USE_GNOME= gnomehack gnomehier gnometarget libxslt intlhack
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --localstatedir=/var --datadir=${PREFIX}/share/gnome \
+ --with-omfdirs=${PREFIX}/share/gnome/omf \
+ --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -lintl" \
+ LOCALBASE="${LOCALBASE}"
+PLIST_SUB= LOCALBASE=${LOCALBASE}
+
+MAN1= scrollkeeper-config.1 scrollkeeper-gen-seriesid.1
+MAN5= scrollkeeper.conf.5
+MAN7= scrollkeeper.7
+MAN8= scrollkeeper-preinstall.8 scrollkeeper-rebuilddb.8 \
+ scrollkeeper-update.8
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|[(]LN_S[)] -f -n|(LN_S) -f|g'
+ @${REINPLACE_CMD} -e 's|/usr/share/locale|${PREFIX}/share/locale|g' \
+ ${WRKSRC}/libs/scrollkeeper.h.in
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/extract/dtds/Makefile.in
+
+.include <bsd.port.post.mk>