freebsd-ports/textproc/jrefentry/Makefile
Emanuel Haupt ccca4389ad - Support staging
- Define EXAMPLES option
- Define DOCS option
2014-03-03 13:17:00 +00:00

34 lines
900 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= ${LOCALBASE}/share/xml/docbook/4.2:${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>