aboutsummaryrefslogtreecommitdiffstats
path: root/lang/scsh/Makefile
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-07-22 18:28:46 +0800
committeralex <alex@FreeBSD.org>2000-07-22 18:28:46 +0800
commit04ef36b38ce28854cf9627775dad705e22057f4c (patch)
tree85fdc7f9ba5050d2e9b681d081b3ece8880eaab6 /lang/scsh/Makefile
parent8538bf24ecd09b929623b5d43f36b4ac05d89ca4 (diff)
downloadfreebsd-ports-gnome-04ef36b38ce28854cf9627775dad705e22057f4c.tar.gz
freebsd-ports-gnome-04ef36b38ce28854cf9627775dad705e22057f4c.tar.zst
freebsd-ports-gnome-04ef36b38ce28854cf9627775dad705e22057f4c.zip
- Update to 0.5.2
- Add NOPORTDOCS hunks
Diffstat (limited to 'lang/scsh/Makefile')
-rw-r--r--lang/scsh/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/lang/scsh/Makefile b/lang/scsh/Makefile
index c05f3c977d79..f5042f010dbf 100644
--- a/lang/scsh/Makefile
+++ b/lang/scsh/Makefile
@@ -6,12 +6,9 @@
#
PORTNAME= scsh
-PORTVERSION= 0.5.1
+PORTVERSION= 0.5.2
CATEGORIES= shells lang
-MASTER_SITES= ftp://ftp-swiss.ai.mit.edu/pub/su/scsh/ \
- http://www2.cons.org:8000/freebsd-distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cracauer
+MASTER_SITES= ftp://ftp-swiss.ai.mit.edu/pub/su/scsh/
MAINTAINER= alex@FreeBSD.org
@@ -29,11 +26,19 @@ ALL_TARGET= enough
MAN1= scsh.1
STRIP=
+.if !defined(NOPORTDOCS)
+PLIST= ${PKGDIR}/PLIST.doc
+.endif
+
post-install:
@strip ${PREFIX}/bin/scsh
- (cd ${WRKSRC} ; \
+.if !defined(NOPORTDOCS)
+ @(cd ${WRKSRC} && \
${INSTALL_DATA} README RELEASE NEWS COPYING ${PREFIX}/lib/scsh/doc)
- ${RM} -f ${PREFIX}/share/doc/scsh
- ${LN} -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh
+ @${RM} -f ${PREFIX}/share/doc/scsh
+ @${LN} -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh
+.else
+ @${RM} -rf ${PREFIX}/lib/scsh/doc
+.endif
.include <bsd.port.post.mk>