1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/textproc/jrefentry/Makefile
Antoine Brodin 728929b709 Switch ports depending on docbook* through a directory name to a package name,
as a directory name can't be attributed to a package
2015-01-23 22:50:49 +00:00

35 lines
879 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
# $FreeBSD$
PORTNAME= jrefentry
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF/docbook/OldFiles
MAINTAINER= ports@FreeBSD.org
COMMENT= DocBook XML JRefEntry DTD
RUN_DEPENDS= docbook-xml>0:${PORTSDIR}/textproc/docbook-xml
NO_BUILD= yes
XMLDIR= ${PREFIX}/share/xml/docbook/${PORTNAME}
PORTDOCS= README.html
PORTEXAMPLES= jtest.xml
OPTIONS_DEFINE= EXAMPLES DOCS
do-install:
@${MKDIR} ${STAGEDIR}${XMLDIR}
${INSTALL_DATA} ${WRKSRC}/jrefentry.dtd ${STAGEDIR}${XMLDIR}
${ECHO_CMD} 'PUBLIC "-//Norman Walsh//DTD JRefEntry V1.1//EN" "jrefentry.dtd"' \
>${STAGEDIR}${XMLDIR}/catalog
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/jtest.xml ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>