aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-02-10 07:57:27 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-02-10 07:57:27 +0000
commit3b0ec45c1363325fe5ddf4bbb1a1e6c75a571788 (patch)
tree735eeb5b237cfcdd3f38cf833b14b38b36a54600
parentd2a4c132d86e6134773f873365c2718c85c59d79 (diff)
downloadports-3b0ec45c1363325fe5ddf4bbb1a1e6c75a571788.tar.gz
ports-3b0ec45c1363325fe5ddf4bbb1a1e6c75a571788.zip
- 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)
Notes
Notes: svn path=/head/; revision=128453
-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 11ecfd28a2d3..61be360c6256 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 e00d4003b04f..6dec107e9fa1 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 fca0d37a1bb5..b2e9b8e6e926 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