Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 07:41:12 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334154 - head/lang/stalin
Message-ID:  <201311180741.rAI7fC01082077@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Mon Nov 18 07:41:12 2013
New Revision: 334154
URL: http://svnweb.freebsd.org/changeset/ports/334154

Log:
  . remove the indefinite article from COMMENT;
  . use new LIB_DEPENDS syntax;
  . incorporate options;
  . support STAGE;
  . remove unneeded trailing "/";
  . mute MKDIRs.

Modified:
  head/lang/stalin/Makefile
  head/lang/stalin/pkg-plist

Modified: head/lang/stalin/Makefile
==============================================================================
--- head/lang/stalin/Makefile	Mon Nov 18 07:10:34 2013	(r334153)
+++ head/lang/stalin/Makefile	Mon Nov 18 07:41:12 2013	(r334154)
@@ -9,15 +9,16 @@ MASTER_SITES=	ftp://ftp.SpringDaemons.co
 DISTNAME=	stalin-freebsd-${PORTVERSION}_1
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An aggressive optimizing Scheme compiler
+COMMENT=	Aggressive optimizing Scheme compiler
 
-LIB_DEPENDS=	gc.1:${PORTSDIR}/devel/boehm-gc
+LIB_DEPENDS=	libgc.so:${PORTSDIR}/devel/boehm-gc
 
 USE_BZIP2=	yes
 ONLY_FOR_ARCHS=	i386 amd64 sparc64
 ONLY_FOR_ARCHS_REASON=	has not been bootstrapped on other platforms yet
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "i386"
@@ -35,26 +36,23 @@ BROKEN=		Does not compile on sparc64: in
 
 EMACSLISPDIR=	${PREFIX}/share/emacs/site-lisp
 SUB_FILES=	stalin.sh
-MAN1=	stalin.1
 
 do-build:
-	(cd ${WRKSRC}/ && ${CC} -o stalin -I${LOCALBASE}/include \
+	(cd ${WRKSRC} && ${CC} -o stalin -I${LOCALBASE}/include \
 	    -L${LOCALBASE}/lib -lgc -lm ${CFLAGS} ${STALIN_SRC})
 	ar -rc ${WRKSRC}/libstalin.a
 
 do-install:
-	${MKDIR} ${STALIN_LIBDIR}/
-	${INSTALL_PROGRAM} ${WRKSRC}/stalin ${STALIN_LIBDIR}/
-	(cd ${WRKSRC}/include && ${COPYTREE_SHARE} \* ${STALIN_LIBDIR}/)
-	${CHMOD} 755 ${STALIN_LIBDIR}
-	${CHMOD} a+x ${STALIN_LIBDIR}/stalin-architecture-name
-	${INSTALL_SCRIPT} ${WRKDIR}/stalin.sh ${PREFIX}/bin/stalin
-	${INSTALL_MAN} ${WRKSRC}/stalin.1 ${MAN1PREFIX}/man/man1/
-	${INSTALL_DATA} ${WRKSRC}/stalin.el ${EMACSLISPDIR}/
-	${INSTALL_DATA} ${WRKSRC}/libstalin.a ${STALIN_LIBDIR}/
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}/
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
-.endif
+	@${MKDIR} ${STAGEDIR}${STALIN_LIBDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/stalin ${STAGEDIR}${STALIN_LIBDIR}
+	(cd ${WRKSRC}/include && ${COPYTREE_SHARE} \* ${STAGEDIR}${STALIN_LIBDIR})
+	${CHMOD} 755 ${STAGEDIR}${STALIN_LIBDIR}
+	${CHMOD} a+x ${STAGEDIR}${STALIN_LIBDIR}/stalin-architecture-name
+	${INSTALL_SCRIPT} ${WRKDIR}/stalin.sh ${STAGEDIR}${PREFIX}/bin/stalin
+	${INSTALL_MAN} ${WRKSRC}/stalin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/stalin.el ${STAGEDIR}${EMACSLISPDIR}
+	${INSTALL_DATA} ${WRKSRC}/libstalin.a ${STAGEDIR}${STALIN_LIBDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.post.mk>

Modified: head/lang/stalin/pkg-plist
==============================================================================
--- head/lang/stalin/pkg-plist	Mon Nov 18 07:10:34 2013	(r334153)
+++ head/lang/stalin/pkg-plist	Mon Nov 18 07:41:12 2013	(r334154)
@@ -12,6 +12,7 @@ lib/stalin/stalin.architectures
 lib/stalin/xlib-c.c
 lib/stalin/xlib-original.sc
 lib/stalin/xlib.sc
+man/man1/stalin.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 share/emacs/site-lisp/stalin.el
 %%PORTDOCS%%@dirrm %%DOCSDIR%%



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