- add a -doc subpackage with complete HTML documentation reference
"looks good" steven@
This commit is contained in:
parent
77b4e73473
commit
7eff0c83cd
@ -1,13 +1,17 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2006/11/09 19:00:39 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2006/11/10 16:01:29 ajacoutot Exp $
|
||||
# $FreeBSD: /repoman/r/pcvs/ports/devel/nspr/Makefile,v 1.13 2003/12/13 21:30:19 peter Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= alpha amd64 i386 powerpc sparc sparc64
|
||||
|
||||
COMMENT= "Netscape Portable Runtime"
|
||||
COMMENT-docs= "HTML Documentation for NSPR"
|
||||
|
||||
VER= 4.6.3
|
||||
DISTNAME= nspr-${VER}
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
PKGNAME-docs= ${DISTNAME:S/-/-docs-/}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
nspr-reference${EXTRACT_SUFX}:0
|
||||
|
||||
SO_VERSION= 17.0
|
||||
.for _lib in nspr4 plc4 plds4
|
||||
@ -28,6 +32,14 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://ftp.eu.mozilla.org/pub/mozilla.org/nspr/releases/v${VER}/src/ \
|
||||
http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VER}/src/
|
||||
MASTER_SITES0= http://ftp.eu.mozilla.org/pub/mozilla.org/nspr/doc/ \
|
||||
http://ftp.mozilla.org/pub/mozilla.org/nspr/doc/
|
||||
MULTI_PACKAGES= -docs
|
||||
SUBPACKAGE?=
|
||||
|
||||
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
||||
PKG_ARCH= *
|
||||
.endif
|
||||
|
||||
USE_GMAKE= Yes
|
||||
AUTOCONF_VERSION= 2.13
|
||||
@ -49,12 +61,16 @@ pre-configure:
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/include/nspr
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nspr/html
|
||||
cd ${WRKSRC}/dist/include && tar cfL - . | \
|
||||
(cd ${PREFIX}/include && tar -xf -)
|
||||
cd ${WRKSRC}/dist/lib && tar cfL - . | \
|
||||
(cd ${PREFIX}/lib && tar -xf -)
|
||||
cd ${WRKDIR}/nspr/reference/html && \
|
||||
pax -s ',.*/CVS.*,,' -rwvpe . ${PREFIX}/share/doc/nspr/html
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/config/nspr-config ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/config/nspr.pc ${PREFIX}/lib/pkgconfig
|
||||
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/nspr/html
|
||||
|
||||
do-regress:
|
||||
${MAKE_PROGRAM} -C ${WRKSRC}/pr/tests
|
||||
|
@ -1,4 +1,8 @@
|
||||
MD5 (nspr-4.6.3.tar.gz) = d529cf2d1676e4c38bf7d530098865e6
|
||||
MD5 (nspr-reference.tar.gz) = 8d94503a793e3b322252761c8b48f3e0
|
||||
RMD160 (nspr-4.6.3.tar.gz) = b9cdde13afabfc6af02817781b2ca274ce5588b6
|
||||
RMD160 (nspr-reference.tar.gz) = e1e438a5923ae2ca4d6a07e521f858a3e0f7c1c6
|
||||
SHA1 (nspr-4.6.3.tar.gz) = bc9165a20e80cc2f73c5e14afca6823e87c71e39
|
||||
SHA1 (nspr-reference.tar.gz) = 9a2842d729c1de498fa184667afb63939a9d71e7
|
||||
SIZE (nspr-4.6.3.tar.gz) = 1301965
|
||||
SIZE (nspr-reference.tar.gz) = 195121
|
||||
|
1
devel/nspr/pkg/DESCR-docs
Normal file
1
devel/nspr/pkg/DESCR-docs
Normal file
@ -0,0 +1 @@
|
||||
Documentation reference for NSPR in HTML format.
|
47
devel/nspr/pkg/PLIST-docs
Normal file
47
devel/nspr/pkg/PLIST-docs
Normal file
@ -0,0 +1,47 @@
|
||||
@comment $OpenBSD: PLIST-docs,v 1.1 2006/11/10 16:01:29 ajacoutot Exp $
|
||||
share/doc/nspr/
|
||||
share/doc/nspr/html/
|
||||
share/doc/nspr/html/Prtyp.html
|
||||
share/doc/nspr/html/graphics/
|
||||
share/doc/nspr/html/graphics/prlonga.gif
|
||||
share/doc/nspr/html/index.html
|
||||
share/doc/nspr/html/layer.html
|
||||
share/doc/nspr/html/plhash.html
|
||||
share/doc/nspr/html/plstr.html
|
||||
share/doc/nspr/html/pratom.html
|
||||
share/doc/nspr/html/prbit.html
|
||||
share/doc/nspr/html/prclist.html
|
||||
share/doc/nspr/html/prcmon.html
|
||||
share/doc/nspr/html/prcountr.html
|
||||
share/doc/nspr/html/prcvar.html
|
||||
share/doc/nspr/html/prdtoa.html
|
||||
share/doc/nspr/html/prerr.html
|
||||
share/doc/nspr/html/prinit.html
|
||||
share/doc/nspr/html/prinrvl.html
|
||||
share/doc/nspr/html/printro.html
|
||||
share/doc/nspr/html/priofnc.html
|
||||
share/doc/nspr/html/priotyp.html
|
||||
share/doc/nspr/html/pripcsem.html
|
||||
share/doc/nspr/html/prlayer.html
|
||||
share/doc/nspr/html/prlink.html
|
||||
share/doc/nspr/html/prlock.html
|
||||
share/doc/nspr/html/prlog.html
|
||||
share/doc/nspr/html/prlong.html
|
||||
share/doc/nspr/html/prmem2.html
|
||||
share/doc/nspr/html/prmon.html
|
||||
share/doc/nspr/html/prmwait.html
|
||||
share/doc/nspr/html/prntdb.html
|
||||
share/doc/nspr/html/prprf.html
|
||||
share/doc/nspr/html/prprocess.html
|
||||
share/doc/nspr/html/prrng.html
|
||||
share/doc/nspr/html/prshm.html
|
||||
share/doc/nspr/html/prshma.html
|
||||
share/doc/nspr/html/prswitch.html
|
||||
share/doc/nspr/html/prsystem.html
|
||||
share/doc/nspr/html/prthrd.html
|
||||
share/doc/nspr/html/prtime.html
|
||||
share/doc/nspr/html/prtpool.html
|
||||
share/doc/nspr/html/samples/
|
||||
share/doc/nspr/html/samples/layer.c
|
||||
share/doc/nspr/html/samples/switch.c
|
||||
share/doc/nspr/html/switch.html
|
Loading…
Reference in New Issue
Block a user