Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 10:04:59 +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: r360160 - head/www/erwn
Message-ID:  <201407021004.s62A4xqG069089@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jul  2 10:04:59 2014
New Revision: 360160
URL: http://svnweb.freebsd.org/changeset/ports/360160
QAT: https://qat.redports.org/buildarchive/r360160/

Log:
  1: Stagify.
  2: use options helper.

Modified:
  head/www/erwn/Makefile
  head/www/erwn/pkg-plist

Modified: head/www/erwn/Makefile
==============================================================================
--- head/www/erwn/Makefile	Wed Jul  2 09:52:06 2014	(r360159)
+++ head/www/erwn/Makefile	Wed Jul  2 10:04:59 2014	(r360160)
@@ -14,18 +14,18 @@ COMMENT=	Simple GTK+-2 HTML editor
 USES=		pathfix pkgconfig gmake
 USE_GNOME=	gnomeprefix gtksourceview gtkhtml3
 GNU_CONFIGURE=	yes
+OPTIONS_DEFINE= DOCS
 
-MAN1=		erwin.1
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s|gtkhtml-3.6|gtkhtml-3.14|g" \
 		${WRKSRC}/configure
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/www/erwn/pkg-plist
==============================================================================
--- head/www/erwn/pkg-plist	Wed Jul  2 09:52:06 2014	(r360159)
+++ head/www/erwn/pkg-plist	Wed Jul  2 10:04:59 2014	(r360160)
@@ -1,4 +1,5 @@
 bin/erwin
+man/man1/erwin.1.gz
 share/erwin/bold.svg
 share/erwin/bold1.svg
 share/erwin/erwin-highlighting.xml



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