1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/textproc/jrefentry/Makefile
Dmitry Marakasov f125e77708 - Switch to options helpers
- Add NO_ARCH
2016-07-27 09:00:56 +00:00

40 lines
926 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:textproc/docbook-xml
NO_BUILD= yes
NO_ARCH= 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
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/jtest.xml ${STAGEDIR}${EXAMPLESDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>