1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support stage

Strip libR.a
This commit is contained in:
Baptiste Daroussin 2014-04-04 14:44:45 +00:00
parent 9c27b8f00e
commit 093d539af2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350130
2 changed files with 3 additions and 5 deletions

View File

@ -71,7 +71,6 @@ OPTIONS_DEFAULT+= ICU PCRE_PORT THREADS
.if !defined(LIBR_SLAVEPORT)
RUN_DEPENDS+= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed
USE_LDCONFIG= ${PREFIX}/lib/R/lib
NO_STAGE= yes
#now only used to build the R.1 manpage:
USES+= perl5
USE_PERL5= build
@ -351,12 +350,12 @@ do-build:
${MAKE_ARGS} Makefile Makedeps libR.a)
do-install:
@${MKDIR} ${PREFIX}/lib/R/lib
@${INSTALL_DATA} ${WRKSRC}/src/main/libR.a ${PREFIX}/lib/R/lib
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/R/lib
@${INSTALL_LIB} ${WRKSRC}/src/main/libR.a ${STAGEDIR}${PREFIX}/lib/R/lib
.else # LIBR_SLAVEPORT
pre-configure-script:
pre-configure:
@${FIND} ${WRKSRC} \( -name '*.orig' -o -name '*.bak' \) -delete
check regression-test test: build

View File

@ -12,5 +12,4 @@ PLIST= ${.CURDIR}/pkg-plist
PLIST_FILES= lib/R/lib/libR.a
PLIST_DIRSTRY= lib/R/lib lib/R
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"