-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
46 lines (35 loc) · 1.12 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $OpenBSD: Makefile,v 1.3 2004/02/01 20:07:41 sturm Exp $
COMMENT= "the definite guide to DocBook"
V= 2.0.8
DISTNAME= tdg-en-html-${V}
PKGNAME= docbook-guide-${V}
EXTRACT_SUFX= .zip
CATEGORIES= books
MASTER_SITES= http://docbook.org/tdg/en/
HOMEPAGE= http://docbook.org/tdg/en/
MAINTAINER= Anil Madhavapeddy <[email protected]>
# GNU Free Documentation License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WRKDIST= ${WRKDIR}/tdg/en
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
INSTALL_LOC= ${PREFIX}/share/doc/docbook-guide
DOC_SUBDIRS= html html/figures html/figures/admon html/figures/callouts \
glyphs/100dpi
ISO_GLYPHS= amsa amsb amsc amsn amso amsr box cyr1 cyr2 dia grk1 \
grk2 grk3 grk4 lat1 lat2 num pub tech
do-install:
.for i in ${DOC_SUBDIRS}
${INSTALL_DATA_DIR} ${INSTALL_LOC}/$i
${INSTALL_DATA} `find ${WRKDIST}/$i -maxdepth 1 -type f` \
${INSTALL_LOC}/$i
.endfor
.for i in ${ISO_GLYPHS}
@sed 's,http://www.oasis-open.org/docbook/xmlcharent/,../,g' \
<${WRKSRC}/html/iso-${i}.html >${INSTALL_LOC}/html/iso-${i}.html
.endfor
.include <bsd.port.mk>