1999-04-15 00:30:42 +02:00
|
|
|
# New ports collection makefile for: docbook-310
|
|
|
|
# Date created: 7 April 1999
|
1999-05-05 19:40:24 +02:00
|
|
|
# Whom: nik
|
1999-04-15 00:30:42 +02:00
|
|
|
#
|
|
|
|
# Based heavily on work by jfieber
|
|
|
|
#
|
1999-08-31 04:11:56 +02:00
|
|
|
# $FreeBSD$
|
1999-04-15 00:30:42 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 23:54:47 +02:00
|
|
|
PORTNAME= docbook
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTVERSION= 3.1
|
1999-04-15 00:30:42 +02:00
|
|
|
CATEGORIES= textproc
|
2000-09-07 21:36:11 +02:00
|
|
|
MASTER_SITES= http://www.docbook.org/sgml/3.1/
|
2000-04-09 23:54:47 +02:00
|
|
|
DISTNAME= docbk31
|
1999-04-15 00:30:42 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= nik@FreeBSD.org
|
1999-04-15 00:30:42 +02:00
|
|
|
|
2000-10-27 17:31:04 +02:00
|
|
|
RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \
|
|
|
|
${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
|
1999-04-15 00:30:42 +02:00
|
|
|
|
1999-05-03 14:31:59 +02:00
|
|
|
USE_ZIP= yes
|
2001-01-16 18:33:20 +01:00
|
|
|
NO_MTREE= yes
|
1999-04-15 00:30:42 +02:00
|
|
|
EXTRACT_ONLY= # empty
|
2001-01-16 18:33:20 +01:00
|
|
|
NO_BUILD= yes
|
1999-04-15 00:30:42 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2000-10-27 17:31:04 +02:00
|
|
|
PLIST_SUB= DTD_NAME=${PORTNAME} DTD_VERSION=${PORTVERSION} \
|
|
|
|
MKCATALOG=${MKCATALOG}
|
1999-04-15 00:30:42 +02:00
|
|
|
|
|
|
|
INSTDIR= ${PREFIX}/share/sgml/docbook
|
|
|
|
ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
|
2000-10-27 17:31:04 +02:00
|
|
|
MKCATALOG= ${PREFIX}/sbin/mkcatalog
|
1999-04-15 00:30:42 +02:00
|
|
|
|
2001-11-09 13:16:14 +01:00
|
|
|
LATEST_LINK= docbook-310
|
|
|
|
|
1999-04-15 00:30:42 +02:00
|
|
|
pre-install:
|
|
|
|
@[ -d ${INSTDIR}/3.1 ] || ${MKDIR} ${INSTDIR}/3.1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@unzip -a -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}/3.1
|
|
|
|
@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/3.1/catalog
|
2002-01-29 12:58:52 +01:00
|
|
|
@${ECHO_CMD} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/3.1/catalog
|
1999-08-22 21:01:07 +02:00
|
|
|
@${CHMOD} ${SHAREMODE} ${INSTDIR}/3.1/*
|
2001-06-01 07:15:32 +02:00
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
1999-04-15 00:30:42 +02:00
|
|
|
|
2000-10-27 17:31:04 +02:00
|
|
|
post-install:
|
|
|
|
@${MKCATALOG} -q install ${PORTNAME}/${PORTVERSION}
|
|
|
|
|
1999-04-15 00:30:42 +02:00
|
|
|
.include <bsd.port.mk>
|