diff options
-rw-r--r-- | shells/heirloom-sh/Makefile | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/shells/heirloom-sh/Makefile b/shells/heirloom-sh/Makefile index 0631dd828bb..16875bac399 100644 --- a/shells/heirloom-sh/Makefile +++ b/shells/heirloom-sh/Makefile @@ -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> |