summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2003-06-29 03:05:28 +0000
committeruebayasi <uebayasi>2003-06-29 03:05:28 +0000
commitdfa167cf4151fd5cc076ba253df5540f85bc35d0 (patch)
treeda396eb68811085f650f6a93c8b0bc62e2de6884
parent3f11071d029ef1244e98eb421645582cd8158be9 (diff)
downloadpkgsrc-dfa167cf4151fd5cc076ba253df5540f85bc35d0.tar.gz
Um, re-do previous.
-rw-r--r--shells/zsh-current/Makefile67
-rw-r--r--shells/zsh-current/distinfo7
2 files changed, 74 insertions, 0 deletions
diff --git a/shells/zsh-current/Makefile b/shells/zsh-current/Makefile
new file mode 100644
index 00000000000..e6c7c4f3bbe
--- /dev/null
+++ b/shells/zsh-current/Makefile
@@ -0,0 +1,67 @@
+# $NetBSD: Makefile,v 1.3 2003/06/29 03:05:28 uebayasi Exp $
+
+DISTNAME= zsh-4.1.1
+CATEGORIES= shells
+MASTER_SITES= ftp://ftp.rge.com/pub/shells/zsh/ \
+ ftp://sunsite.auc.dk/pub/unix/shells/zsh/ \
+ ftp://ftp.uit.no/pub/unix/shells/zsh/ \
+ ftp://ftp.net.lut.ac.uk/zsh/ \
+ ftp://ftp.zsh.org/zsh/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= gcw@zsh.org
+HOMEPAGE= http://sunsite.dk/zsh/
+COMMENT= The Z shell
+
+USE_BUILDLINK2= yes
+USE_PKGINSTALL= yes
+GNU_CONFIGURE= yes
+INFO_FILES= zsh.info
+TEXINFO_OVERRIDE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(ZSH_STATIC)
+CONFIGURE_ARGS+=--disable-dynamic
+LDFLAGS+= -static
+.else
+.if ${OPSYS} == "SunOS"
+PLIST_SRC= ${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
+.else
+LDFLAGS+= -Wl,${RPATH_FLAG}${PREFIX}/lib/zsh
+PLIST_SRC= ${PKGDIR}/PLIST.shlibs ${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
+.endif
+.endif
+
+.undef MANZ
+
+PKG_SHELL= ${PREFIX}/bin/zsh
+
+post-install:
+ @cd ${WRKSRC}/Doc; ${MAKE} install.info
+ @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zsh
+ @cd ${WRKSRC}/Etc; ${INSTALL_DATA} BUGS FAQ FEATURES NEWS \
+ ${PREFIX}/share/doc/zsh
+
+# Utilize Zsh's test framework.
+#
+.PHONY: do-test do-su-test real-su-test
+
+do-test: do-su-test
+
+do-su-test:
+ @${_PKG_SILENT}${_PKG_DEBUG} \
+ ${ECHO_MSG} "*** Warning: This test needs to be run as root"
+ @${_PKG_SILENT}${_PKG_DEBUG} \
+ realtarget="real-su-test"; \
+ action="install"; \
+ ${_SU_TARGET}
+
+real-su-test:
+ @${_PKG_SILENT}${_PKG_DEBUG} \
+ ${ECHO_MSG} "${_PKGSRC_IN}> Testing for ${PKGNAME}"
+ @cd ${WRKSRC} && ${MAKE} check
+ @cd ${WRKSRC}/Test && ${MAKE} clean
+
+.include "../../mk/texinfo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/shells/zsh-current/distinfo b/shells/zsh-current/distinfo
new file mode 100644
index 00000000000..bc9a6daa5b4
--- /dev/null
+++ b/shells/zsh-current/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.4 2003/06/29 03:05:28 uebayasi Exp $
+
+SHA1 (zsh-4.1.1.tar.bz2) = a47a6e698530d89988ed12dc7aaa6428e7336c5e
+Size (zsh-4.1.1.tar.bz2) = 1924514 bytes
+SHA1 (patch-aa) = 5e5fde0f21a64c2e0579958868b05737ef0c6afb
+SHA1 (patch-ac) = fb983a8d7281f97023be5ea8df505b9eab93b32f
+SHA1 (patch-ad) = 744b188c8d273238ce74ea37e9f77a53800ac823