aboutsummaryrefslogtreecommitdiff
path: root/lang/scsh/Makefile
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-07-22 10:28:46 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-07-22 10:28:46 +0000
commit3bbbb772e7ed39b5eed4c48592c0e292435cae84 (patch)
treeebe2a3631abfbbe136157d8db0d0cc30213a5adc /lang/scsh/Makefile
parent32a6ce46c4194545dea9ba0ed6d22e095fa69968 (diff)
downloadports-3bbbb772e7ed39b5eed4c48592c0e292435cae84.tar.gz
ports-3bbbb772e7ed39b5eed4c48592c0e292435cae84.zip
Notes
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>