mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support stage
This commit is contained in:
parent
93f4bf8487
commit
def6459cb8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347282
@ -9,35 +9,24 @@ MASTER_SITES= http://www.softintegration.com/download/software/release/FreeBSD/
|
||||
DISTNAME= chstandard-${PORTVERSION}.freebsd9.0
|
||||
|
||||
MAINTAINER= conrads@cox.net
|
||||
COMMENT= An embeddable C/C++ interpreter/shell
|
||||
COMMENT= Embeddable C/C++ interpreter/shell
|
||||
|
||||
IA32_BINARY_PORT= yes
|
||||
NO_BUILD= yes
|
||||
MANDIRS= ${DATADIR}/docs/man/
|
||||
|
||||
DATADIR= ${PREFIX}/${PORTNAME}
|
||||
|
||||
SUB_FILES= ${PORTNAME}
|
||||
PORTDATA= README bin config demos dl extern include lib license package sbin toolkit
|
||||
|
||||
MAN1= installpkg.1 strconcat.1 strjoin.1. strputc.1 pkginstall.1 strgetc.1 gnuplot.1 str2mat.1 createpkg.1 str2ascii.1 strrep.1 splint.1 ch.1 foreach.1 stradd.1
|
||||
MAN1PREFIX= ${PREFIX}/${PORTNAME}/docs
|
||||
MANCOMPRESSED= no
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-extract:
|
||||
@${MKDIR} ${WRKSRC}/ch
|
||||
@${TAR} zxf ${WRKSRC}/ch.bin -C ${WRKSRC}/ch
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
cd ${WRKSRC}/ch && ${COPYTREE_SHARE} \* ${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
|
||||
${CHOWN} -R -h ${BINOWN}:${BINGRP} ${DATADIR}
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
cd ${WRKSRC}/ch && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@if ${GREP} -q '${PREFIX}/bin/ch' /etc/shells; then ${TRUE}; else \
|
||||
${ECHO_CMD} '${PREFIX}/bin/ch' >> /etc/shells; fi
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,6 +15,21 @@ bin/ch
|
||||
%%DATADIR%%/docs/jp/chref.pdf
|
||||
%%DATADIR%%/docs/jp/qanimate.pdf
|
||||
%%DATADIR%%/docs/cn/chide.pdf
|
||||
%%DATADIR%%/docs/man/man1/ch.1.gz
|
||||
%%DATADIR%%/docs/man/man1/createpkg.1.gz
|
||||
%%DATADIR%%/docs/man/man1/foreach.1.gz
|
||||
%%DATADIR%%/docs/man/man1/gnuplot.1.gz
|
||||
%%DATADIR%%/docs/man/man1/installpkg.1.gz
|
||||
%%DATADIR%%/docs/man/man1/pkginstall.1.gz
|
||||
%%DATADIR%%/docs/man/man1/splint.1.gz
|
||||
%%DATADIR%%/docs/man/man1/str2ascii.1.gz
|
||||
%%DATADIR%%/docs/man/man1/str2mat.1.gz
|
||||
%%DATADIR%%/docs/man/man1/stradd.1.gz
|
||||
%%DATADIR%%/docs/man/man1/strconcat.1.gz
|
||||
%%DATADIR%%/docs/man/man1/strgetc.1.gz
|
||||
%%DATADIR%%/docs/man/man1/strjoin.1..gz
|
||||
%%DATADIR%%/docs/man/man1/strputc.1.gz
|
||||
%%DATADIR%%/docs/man/man1/strrep.1.gz
|
||||
@dirrmtry %%DATADIR%%/docs/cn
|
||||
@dirrmtry %%DATADIR%%/docs/jp
|
||||
@dirrmtry %%DATADIR%%/docs/jp
|
||||
|
Loading…
Reference in New Issue
Block a user