diff options
author | bapt <bapt@FreeBSD.org> | 2013-12-27 16:32:02 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-12-27 16:32:02 +0800 |
commit | 444594a160be9f6fdc2111c1168ad82bd02b6648 (patch) | |
tree | 3e44b0078e423dc572f3c4acbbf798ec28306414 /shells/ksh93 | |
parent | fc6e9d42237b1cf79f3eb6ee76d1a83355871394 (diff) | |
download | freebsd-ports-gnome-444594a160be9f6fdc2111c1168ad82bd02b6648.tar.gz freebsd-ports-gnome-444594a160be9f6fdc2111c1168ad82bd02b6648.tar.zst freebsd-ports-gnome-444594a160be9f6fdc2111c1168ad82bd02b6648.zip |
Support stage
Diffstat (limited to 'shells/ksh93')
-rw-r--r-- | shells/ksh93/Makefile | 18 | ||||
-rw-r--r-- | shells/ksh93/pkg-plist | 1 |
2 files changed, 5 insertions, 14 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile index 1356b2fb16d3..7f85bd2fcfa4 100644 --- a/shells/ksh93/Makefile +++ b/shells/ksh93/Makefile @@ -31,12 +31,9 @@ LDFLAGS+= -lm MAKE_ENV= CCFLAGS="${CFLAGS}" NO_WRKSUBDIR= yes -MAN1= ksh93.1 - INITVERSION= 2013-05-24 KSHVERSION= 2012-08-01 -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MSTATIC} @@ -51,17 +48,10 @@ do-build: @cd ${WRKSRC}/ && ${SETENV} -i ${MAKE_ENV} ${SH} bin/package flat make do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/ksh ${PREFIX}/bin/ksh93 - ${INSTALL_MAN} ${WRKSRC}/man/man1/sh.1 ${MAN1PREFIX}/man/man1/ksh93.1 -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR}/ - cd ${WRKSRC}/fun/ && ${INSTALL_SCRIPT} dirs popd pushd ${EXAMPLESDIR}/ -.endif - -post-install: - @${ECHO} "Updating /etc/shells" - @${SED} -i '' '\|${PREFIX}/bin/ksh93|d' /etc/shells - @${ECHO} ${PREFIX}/bin/ksh93 >> /etc/shells + ${INSTALL_PROGRAM} ${WRKSRC}/bin/ksh ${STAGEDIR}${PREFIX}/bin/ksh93 + ${INSTALL_MAN} ${WRKSRC}/man/man1/sh.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ksh93.1 + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + cd ${WRKSRC}/fun/ && ${INSTALL_SCRIPT} dirs popd pushd ${STAGEDIR}${EXAMPLESDIR}/ test: build @cd ${WRKSRC}/src/cmd/ksh93/tests/ && \ diff --git a/shells/ksh93/pkg-plist b/shells/ksh93/pkg-plist index 255ace3072f6..59b5ea320327 100644 --- a/shells/ksh93/pkg-plist +++ b/shells/ksh93/pkg-plist @@ -1,4 +1,5 @@ bin/ksh93 +man/man1/ksh93.1.gz @exec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells; echo %D/%F >> /etc/shells @unexec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dirs |