Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 16:46:37 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402685 - head/lang/slib
Message-ID:  <201511301646.tAUGkb3G083251@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Nov 30 16:46:37 2015
New Revision: 402685
URL: https://svnweb.freebsd.org/changeset/ports/402685

Log:
  - Add NO_ARCH
  - Switch to options helpers
  - Fix docs installation

Modified:
  head/lang/slib/Makefile

Modified: head/lang/slib/Makefile
==============================================================================
--- head/lang/slib/Makefile	Mon Nov 30 16:13:06 2015	(r402684)
+++ head/lang/slib/Makefile	Mon Nov 30 16:46:37 2015	(r402685)
@@ -6,7 +6,6 @@ PORTVERSION=	3b4
 CATEGORIES=	lang scheme
 MASTER_SITES=	http://groups.csail.mit.edu/mac/ftpdir/scm/ \
 		http://groups.csail.mit.edu/mac/ftpdir/scm/OLD/
-DISTFILES=	slib-${PORTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Portable scheme library
@@ -14,6 +13,7 @@ COMMENT=	Portable scheme library
 USES=		gmake makeinfo
 ALL_TARGET=	slib.info
 INFO=		slib
+NO_ARCH=	yes
 
 OPTIONS_DEFINE=	DOCS
 
@@ -25,10 +25,12 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/*.scm ${WRKSRC}/*.init ${WRKSRC}/*.txt \
 		${WRKSRC}/*.xyz ${WRKSRC}/*.ps ${STAGEDIR}${DATADIR}
-	${INSTALL_MAN} ${WRKSRC}/slib.info ${STAGEDIR}${MANPREFIX}/info
+	${INSTALL_DATA} ${WRKSRC}/slib.info ${STAGEDIR}${PREFIX}/info
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ANNOUNCE ChangeLog FAQ README
-	${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511301646.tAUGkb3G083251>