88ea72915d
make a distinction between these. ok aja@ dcoppa@
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2012/03/29 13:39:00 sthen Exp $
|
|
|
|
COMMENT= modular DSSSL stylesheets for the DocBook DTD
|
|
|
|
V= 1.72
|
|
DISTNAME= docbook-dsssl-${V}
|
|
CATEGORIES= textproc print
|
|
|
|
REVISION= 0
|
|
|
|
HOMEPAGE= http://docbook.sourceforge.net/
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
|
|
|
# BSD-like
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docbook/}
|
|
DISTFILES= docbook-dsssl-${V}${EXTRACT_SUFX} docbook-dsssl-doc-${V}${EXTRACT_SUFX}
|
|
|
|
SEPARATE_BUILD= Yes
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
INST_DIR= ${PREFIX}/share/sgml/docbook/dsssl/modular
|
|
DOC_DIR= ${PREFIX}/share/doc/docbook-dsssl
|
|
INST_SUBDIRS= . common lib print html bin dtds/olink dtds/imagelib \
|
|
dtds/html dtds/decls dtds/dbdsssl olink contrib/subdoc \
|
|
contrib/renumberinpart contrib/print contrib/imagemap \
|
|
contrib/html images images/callouts frames
|
|
DOC_SUBDIRS= doc doc/html doc/lib doc/print \
|
|
docsrc docsrc/htmlpr docsrc/libref docsrc/printpr
|
|
|
|
do-install:
|
|
.for i in ${INST_SUBDIRS}
|
|
${INSTALL_DATA_DIR} ${INST_DIR}/$i
|
|
${INSTALL_DATA} `find ${WRKDIST}/$i -maxdepth 1 -type f` ${INST_DIR}/$i
|
|
.endfor
|
|
|
|
.for i in ${DOC_SUBDIRS}
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}/$i
|
|
${INSTALL_DATA} `find ${WRKDIST}/$i -maxdepth 1 -type f` ${DOC_DIR}/$i
|
|
.endfor
|
|
.include <bsd.port.mk>
|