diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-03-06 17:27:23 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-03-06 17:27:23 +0000 |
commit | def6459cb8384202a754a5396343a7acd954e536 (patch) | |
tree | 867b1506477957d410f36f36ec2f3ae51557cbfd /shells | |
parent | Try and have BIND start earlier. (diff) |
Support stage
Notes
Notes:
svn path=/head/; revision=347282
Diffstat (limited to 'shells')
-rw-r--r-- | shells/ch/Makefile | 23 | ||||
-rw-r--r-- | shells/ch/pkg-plist | 15 |
2 files changed, 21 insertions, 17 deletions
diff --git a/shells/ch/Makefile b/shells/ch/Makefile index 43981b31b064..31f79f0e54bc 100644 --- a/shells/ch/Makefile +++ b/shells/ch/Makefile @@ -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} - -post-install: - @if ${GREP} -q '${PREFIX}/bin/ch' /etc/shells; then ${TRUE}; else \ - ${ECHO_CMD} '${PREFIX}/bin/ch' >> /etc/shells; fi + @${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/ch && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/shells/ch/pkg-plist b/shells/ch/pkg-plist index 7c79e5ada428..b602e3033a2a 100644 --- a/shells/ch/pkg-plist +++ b/shells/ch/pkg-plist @@ -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 |