diff --git a/textproc/docbook-xsd/Makefile b/textproc/docbook-xsd/Makefile index 20acce576306..213fe2142614 100644 --- a/textproc/docbook-xsd/Makefile +++ b/textproc/docbook-xsd/Makefile @@ -2,24 +2,18 @@ # $FreeBSD$ PORTNAME= docbook-xsd -PORTVERSION= 1.0.b1 +DISTVERSION= 1.0b1 CATEGORIES= textproc -MASTER_SITES= http://www.oasis-open.org/docbook/xmlschema/${PORTVERSION:S/.b/b/}/ -DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b/} +MASTER_SITES= http://www.oasis-open.org/docbook/xmlschema/${DISTVERSION}/ +EXTRACT_SUFX= .zip MAINTAINER= gabor@FreeBSD.org COMMENT= DocBook W3C XML Schema -USE_ZIP= yes NO_BUILD= yes -NO_STAGE= yes do-install: - @${MKDIR} ${DATADIR} - @${CP} ${WRKSRC}/*.xsd ${DATADIR} - @${FIND} ${DATADIR} -type f | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${DATADIR} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.xsd ${STAGEDIR}${DATADIR} .include diff --git a/textproc/docbook-xsd/pkg-plist b/textproc/docbook-xsd/pkg-plist new file mode 100644 index 000000000000..79a0ce41df66 --- /dev/null +++ b/textproc/docbook-xsd/pkg-plist @@ -0,0 +1,7 @@ +share/docbook-xsd/calstbl.xsd +share/docbook-xsd/dbcent.xsd +share/docbook-xsd/dbhier.xsd +share/docbook-xsd/dbnotn.xsd +share/docbook-xsd/dbpool.xsd +share/docbook-xsd/docbook.xsd +@dirrmtry share/docbook-xsd