summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-02-10 07:57:27 +0000
committersem <sem@FreeBSD.org>2005-02-10 07:57:27 +0000
commit19083e235b3c7a8027aeca07c37f8a02bff87269 (patch)
treedd9cef7b9b8a219d75bf717b31938a5236f61a1d
parent4b58755cb90cf265a63a728c91357acfb79a3e16 (diff)
downloadFreeBSD-ports-19083e235b3c7a8027aeca07c37f8a02bff87269.zip
FreeBSD-ports-19083e235b3c7a8027aeca07c37f8a02bff87269.tar.gz
- Fix pkg-plist
- Use PREFIX instead of LOCALBASE for installing - Use USE_PYTHON_BUILD instead of an explicit dependency line - Replace the URL mentioned in pkg-descr - Bump PORTREVISION PR: ports/75100 Submitted by: Chris Larsen <darth(at)vader.dk>, Stefan Walter <sw(at)gegenunendlich.de> (real fix)
-rw-r--r--textproc/sgmltools-lite/Makefile14
-rw-r--r--textproc/sgmltools-lite/pkg-descr2
-rw-r--r--textproc/sgmltools-lite/pkg-plist3
3 files changed, 9 insertions, 10 deletions
diff --git a/textproc/sgmltools-lite/Makefile b/textproc/sgmltools-lite/Makefile
index 11ecfd2..61be360 100644
--- a/textproc/sgmltools-lite/Makefile
+++ b/textproc/sgmltools-lite/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sgmltools-lite
PORTVERSION= 3.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sgmltools-lite
@@ -15,19 +15,15 @@ MASTER_SITE_SUBDIR= sgmltools-lite
MAINTAINER= ports@FreeBSD.org
COMMENT= Generates various output formats from DocBook SGML documents
-BUILD_DEPENDS+= python:${PORTSDIR}/lang/python \
- openjade:${PORTSDIR}/textproc/openjade \
+BUILD_DEPENDS+= openjade:${PORTSDIR}/textproc/openjade \
${LOCALBASE}/share/texmf:${PORTSDIR}/print/teTeX
RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook:${PORTSDIR}/textproc/docbook \
${LOCALBASE}/share/sgml/docbook/dsssl:${PORTSDIR}/textproc/dsssl-docbook-modular
-BROKEN= Broken pkg-plist
-EXPIRATION_DATE=2005-02-18
-DEPRECATED= ${BROKEN}
-
+USE_PYTHON_BUILD= yes
MAN1= sgmltools-lite.1
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-etcsgml=${PREFIX}/etc/sgml --datadir=${LOCALBASE}/share
+CONFIGURE_ARGS+=--with-etcsgml=${PREFIX}/etc/sgml --datadir=${PREFIX}/share
pre-configure:
${RM} -f ${WRKSRC}/config.cache
@@ -36,6 +32,6 @@ pre-install:
${MKDIR} ${PREFIX}/etc/sgml
post-install:
- ${ECHO_CMD} "3.0.3" > ${LOCALBASE}/share/sgml/misc/sgmltools/VERSION
+ ${ECHO_CMD} "3.0.3" > ${PREFIX}/share/sgml/misc/sgmltools/VERSION
.include <bsd.port.mk>
diff --git a/textproc/sgmltools-lite/pkg-descr b/textproc/sgmltools-lite/pkg-descr
index e00d400..6dec107e 100644
--- a/textproc/sgmltools-lite/pkg-descr
+++ b/textproc/sgmltools-lite/pkg-descr
@@ -4,4 +4,4 @@ from a single source; due to the flexible nature of SGML many other target
formats are possible. As the front-end is written in Python, it is relatively
easy to adapt to your needs.
-WWW: http://www.sgmltools.org/
+WWW: http://sgmltools-lite.sourceforge.net/
diff --git a/textproc/sgmltools-lite/pkg-plist b/textproc/sgmltools-lite/pkg-plist
index fca0d37..b2e9b8e 100644
--- a/textproc/sgmltools-lite/pkg-plist
+++ b/textproc/sgmltools-lite/pkg-plist
@@ -39,4 +39,7 @@ share/sgml/misc/sgmltools/VERSION
@dirrm share/sgml/misc/sgmltools/python/backends
@dirrm share/sgml/misc/sgmltools/python
@dirrm share/sgml/misc/sgmltools
+@dirrm etc/sgml/catalog.d
@unexec rmdir %D/etc/sgml 2>/dev/null || true
+@unexec rmdir %D/share/sgml/dtd 2>/dev/null || true
+@unexec rmdir %D/share/sgml/misc 2>/dev/null || true
OpenPOWER on IntegriCloud