1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Expose jsstr.h

- Move plist to Makefile

PR:		ports/96549
Submitted by:	sat
Approved by:	krion (mentor), maintainer
This commit is contained in:
Andrew Pantyukhin 2006-05-21 15:29:40 +00:00
parent 83b01dcaf6
commit 73dc414a41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162949
2 changed files with 4 additions and 13 deletions

View File

@ -53,6 +53,9 @@ ALL_TARGET= ${OPSYS}`${UNAME} -r`_DBG.OBJ/js
MAKE_ENV+= CC="${CC}" CCC="${CXX}"
INSTALLS_SHLIB= YES
SRC_DIR= js/src
JSH= jsapi.h jsautocfg.h jscompat.h jslong.h jsosdep.h jsotypes.h jspubtd.h jstypes.h \
jsstr.h jshash.h jsprvtd.h
PLIST_FILES= bin/js lib/libjs.so ${JSH:S,^,include/,}
WRKSRC= ${WRKDIR}/${SRC_DIR}
EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
--exclude js/jsd \
@ -84,8 +87,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}`${UNAME} -r`_DBG.OBJ/libjs.so \
${PREFIX}/lib
${CP} ${WRKSRC}/${OPSYS}`${UNAME} -r`_DBG.OBJ/jsautocfg.h ${WRKSRC}
.for jsh in jsapi.h jsautocfg.h jscompat.h jslong.h jsosdep.h jsotypes.h jspubtd.h jstypes.h
@${INSTALL_DATA} ${WRKSRC}/${jsh} ${PREFIX}/include/
.endfor
@${INSTALL_DATA} ${JSH:S,^,${WRKSRC}/,} ${PREFIX}/include/
.include <bsd.port.post.mk>

View File

@ -1,10 +0,0 @@
bin/js
lib/libjs.so
include/jsapi.h
include/jsautocfg.h
include/jscompat.h
include/jslong.h
include/jsosdep.h
include/jsotypes.h
include/jspubtd.h
include/jstypes.h