svn commit: r347282 - head/shells/ch
Baptiste Daroussin
bapt at FreeBSD.org
Thu Mar 6 17:27:24 UTC 2014
Author: bapt
Date: Thu Mar 6 17:27:23 2014
New Revision: 347282
URL: http://svnweb.freebsd.org/changeset/ports/347282
QAT: https://qat.redports.org/buildarchive/r347282/
Log:
Support stage
Modified:
head/shells/ch/Makefile
head/shells/ch/pkg-plist
Modified: head/shells/ch/Makefile
==============================================================================
--- head/shells/ch/Makefile Thu Mar 6 17:12:52 2014 (r347281)
+++ head/shells/ch/Makefile Thu Mar 6 17:27:23 2014 (r347282)
@@ -9,35 +9,24 @@ MASTER_SITES= http://www.softintegration
DISTNAME= chstandard-${PORTVERSION}.freebsd9.0
MAINTAINER= conrads at 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>
Modified: head/shells/ch/pkg-plist
==============================================================================
--- head/shells/ch/pkg-plist Thu Mar 6 17:12:52 2014 (r347281)
+++ head/shells/ch/pkg-plist Thu Mar 6 17:27:23 2014 (r347282)
@@ -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
More information about the svn-ports-all
mailing list