Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 08:09:05 +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: r334157 - head/textproc/chpp
Message-ID:  <201311180809.rAI895tS089889@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Mon Nov 18 08:09:05 2013
New Revision: 334157
URL: http://svnweb.freebsd.org/changeset/ports/334157

Log:
  . use new LIB_DEPENDS syntax;
  . USE_GMAKE -> USES=gmake;
  . incorporate options;
  . unmute EXAMPLES installation;
  . support STAGE.

Modified:
  head/textproc/chpp/Makefile

Modified: head/textproc/chpp/Makefile
==============================================================================
--- head/textproc/chpp/Makefile	Mon Nov 18 07:53:06 2013	(r334156)
+++ head/textproc/chpp/Makefile	Mon Nov 18 08:09:05 2013	(r334157)
@@ -13,9 +13,9 @@ COMMENT=	Non-intrusive full-featured tex
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	gc.1:${PORTSDIR}/devel/boehm-gc
+LIB_DEPENDS=	libgc.so:${PORTSDIR}/devel/boehm-gc
 
-USE_GMAKE=	yes
+USES=		gmake
 USE_AUTOTOOLS=	autoheader aclocal automake autoconf
 AUTOMAKE_ARGS=	--add-missing --copy --force-missing
 CONFIGURE_ARGS=	--libdir=${PREFIX}/share
@@ -25,7 +25,8 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 
 INFO=		chpp
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} != "i386" && ${ARCH} != "amd64"
@@ -49,15 +50,11 @@ post-patch:
 .endfor
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in AUTHORS NEWS README
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.post.mk>



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