Support stage
This commit is contained in:
parent
eeeb0139e0
commit
b7b786729a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337649
1 changed files with 7 additions and 20 deletions
|
@ -9,32 +9,19 @@ MASTER_SITES= SF/heirloom/${PORTNAME}/${PORTVERSION}
|
|||
MAINTAINER= danielt@pilgerer.org
|
||||
COMMENT= Portable version of OpenSolaris' Bourne Shell
|
||||
|
||||
MAKEFILE= makefile
|
||||
USE_BZIP2= yes
|
||||
MAN1= jsh.1
|
||||
PLIST_FILES= bin/jsh
|
||||
PLIST_FILES= bin/jsh \
|
||||
man/man1/jsh.1.gz
|
||||
PORTDOCS= CALDERA.LICENSE OPENSOLARIS.LICENSE CHANGES README
|
||||
|
||||
PKGINSTALL= pkg-install
|
||||
PKGDEINSTALL= pkg-deinstall
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
cd ${WRKSRC} && make
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/jsh ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/sh.1.out ${MANPREFIX}/man/man1/jsh.1
|
||||
|
||||
pre-install:
|
||||
@${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" \
|
||||
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
@${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" \
|
||||
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/jsh ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/sh.1.out ${STAGEDIR}${MANPREFIX}/man/man1/jsh.1
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue