aboutsummaryrefslogtreecommitdiffstats
path: root/shells/heirloom-sh
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-27 16:23:12 +0800
committerbapt <bapt@FreeBSD.org>2013-12-27 16:23:12 +0800
commit387d0a7e800cb07f6357d79b701d621b9886be0f (patch)
tree14adc8ee3a93248e559cd140c54825fdadb22218 /shells/heirloom-sh
parenta1225e82303a83fdb65d6b6848fe8a6d06fe5ade (diff)
downloadfreebsd-ports-gnome-387d0a7e800cb07f6357d79b701d621b9886be0f.tar.gz
freebsd-ports-gnome-387d0a7e800cb07f6357d79b701d621b9886be0f.tar.zst
freebsd-ports-gnome-387d0a7e800cb07f6357d79b701d621b9886be0f.zip
Support stage
Diffstat (limited to 'shells/heirloom-sh')
-rw-r--r--shells/heirloom-sh/Makefile27
1 files changed, 7 insertions, 20 deletions
diff --git a/shells/heirloom-sh/Makefile b/shells/heirloom-sh/Makefile
index 0631dd828bbe..16875bac399a 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>