freebsd-ports/textproc/docbook-sk/Makefile
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00

33 lines
893 B
Makefile

# New ports collection makefile for: DocBook XML for ScrollKeeper
# Date created: 16 January 2003
# Whom: marcus@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= docbook-sk
PORTVERSION= 4.1.2
CATEGORIES= textproc
MASTER_SITES= http://www.docbook.org/xml/${PORTVERSION}/ \
http://www.oasis-open.org/committees/docbook/xml/${PORTVERSION}/
DISTNAME= docbkx${PORTVERSION:S/.//g}
MAINTAINER= gnome@FreeBSD.org
COMMENT= XML version of the DocBook DTD version controlled for ScrollKeeper
USE_ZIP= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_SUB= DTD_VERSION=${PORTVERSION}
DOCBOOKDIR= ${PREFIX}/share/sk/${PORTNAME:S/-sk//}/${PORTVERSION}
pre-install:
@[ -d ${DOCBOOKDIR}/ent ] || ${MKDIR} ${DOCBOOKDIR}/ent
do-install:
for file in `unzip -l ${DISTDIR}/${DISTFILES}|${AWK} '/:[0-9].*[^\/]$$/{print $$4}'`; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCBOOKDIR}/$$file; \
done
.include <bsd.port.mk>