Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 23:57:49 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340952 - head/devel/vstr
Message-ID:  <201401242357.s0ONvnsN000182@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Jan 24 23:57:48 2014
New Revision: 340952
URL: http://svnweb.freebsd.org/changeset/ports/340952
QAT: https://qat.redports.org/buildarchive/r340952/

Log:
  Support stage

Modified:
  head/devel/vstr/Makefile
  head/devel/vstr/pkg-plist

Modified: head/devel/vstr/Makefile
==============================================================================
--- head/devel/vstr/Makefile	Fri Jan 24 23:52:36 2014	(r340951)
+++ head/devel/vstr/Makefile	Fri Jan 24 23:57:48 2014	(r340952)
@@ -12,31 +12,20 @@ MASTER_SITES=	http://freebsd.unixfreunde
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	General purpose string library for C
 
+OPTIONS_DEFINE=	DOCS
+
 USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
 USE_BZIP2=	yes
-USE_GMAKE=	yes
 USE_CSTD=	gnu89
-USES=	pathfix pkgconfig
+USES=	gmake pathfix pkgconfig
 USE_LDCONFIG=	yes
 
-MAN3=		vstr.3 vstr_const.3
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-post-patch:
-.if !${PORT_OPTIONS:MDOCS}
-	${REINPLACE_CMD} -e 's| Documentation||' ${WRKSRC}/Makefile.in
-.endif
-
 post-install:
-.if !${PORT_OPTIONS:MDOCS}
-	cd ${WRKSRC}/Documentation && ${GMAKE} install-man3
-.endif
+	cd ${WRKSRC}/Documentation && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_fLAGS} ${MAKEFILE} ${MAKE_ARGS} install-man3
 
 regression-test:
 	(cd ${WRKSRC} &&	\
-	${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
+	${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
 
 .include <bsd.port.mk>

Modified: head/devel/vstr/pkg-plist
==============================================================================
--- head/devel/vstr/pkg-plist	Fri Jan 24 23:52:36 2014	(r340951)
+++ head/devel/vstr/pkg-plist	Fri Jan 24 23:57:48 2014	(r340952)
@@ -12,6 +12,8 @@ lib/libvstr.a
 lib/libvstr.la
 lib/libvstr.so
 libdata/pkgconfig/vstr.pc
+man/man3/vstr.3.gz
+man/man3/vstr_const.3.gz
 %%PORTDOCS%%%%DOCSDIR%%/basic_cat.c.html
 %%PORTDOCS%%%%DOCSDIR%%/compare_licenses/SafeStr.txt
 %%PORTDOCS%%%%DOCSDIR%%/compare_licenses/bstring.txt



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