Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 06:54:36 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360144 - head/textproc/sagasu
Message-ID:  <201407020654.s626satn079943@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jul  2 06:54:36 2014
New Revision: 360144
URL: http://svnweb.freebsd.org/changeset/ports/360144
QAT: https://qat.redports.org/buildarchive/r360144/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket approval)

Modified:
  head/textproc/sagasu/Makefile
  head/textproc/sagasu/pkg-plist

Modified: head/textproc/sagasu/Makefile
==============================================================================
--- head/textproc/sagasu/Makefile	Wed Jul  2 06:47:10 2014	(r360143)
+++ head/textproc/sagasu/Makefile	Wed Jul  2 06:54:36 2014	(r360144)
@@ -18,9 +18,10 @@ GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-MAN1=		sagasu.1
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
@@ -29,10 +30,10 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/util.h
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in AUTHORS INSTALL NEWS README THANKS TODO
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/textproc/sagasu/pkg-plist
==============================================================================
--- head/textproc/sagasu/pkg-plist	Wed Jul  2 06:47:10 2014	(r360143)
+++ head/textproc/sagasu/pkg-plist	Wed Jul  2 06:54:36 2014	(r360144)
@@ -1,4 +1,5 @@
 bin/sagasu
+man/man1/sagasu.1.gz
 share/applications/sagasu.desktop
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL



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