28 lines
908 B
Makefile
28 lines
908 B
Makefile
# $NetBSD: Makefile,v 1.5 2006/05/01 14:20:08 shattered Exp $
|
|
#
|
|
|
|
DISTNAME= CoreReferenceJS15
|
|
PKGNAME= javascript-reference-1.5
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.5/reference/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://devedge-temp.mozilla.org/
|
|
COMMENT= JavaScript Reference from Netscape Devedge
|
|
|
|
HTMLDIR= share/doc/${PKGNAME}
|
|
RESTRICTED= I am not sure if we can redistribute it
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
|
|
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
|
|
cd ${WRKDIR} && ${PAX} -rw -pe [a-z]* ${PREFIX}/${HTMLDIR}
|
|
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
|
|
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
|
|
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|