Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2014 12:37:43 +0000 (UTC)
From:      Michael Landin Hostbaek <mich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359513 - head/mail/gubby
Message-ID:  <201406271237.s5RCbhf4058538@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mich
Date: Fri Jun 27 12:37:43 2014
New Revision: 359513
URL: http://svnweb.freebsd.org/changeset/ports/359513
QAT: https://qat.redports.org/buildarchive/r359513/

Log:
  - add support for staging
  - fix minor typos to keep portlint happy

Modified:
  head/mail/gubby/Makefile
  head/mail/gubby/pkg-descr
  head/mail/gubby/pkg-plist

Modified: head/mail/gubby/Makefile
==============================================================================
--- head/mail/gubby/Makefile	Fri Jun 27 12:34:52 2014	(r359512)
+++ head/mail/gubby/Makefile	Fri Jun 27 12:37:43 2014	(r359513)
@@ -14,7 +14,8 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 LDFLAGS+=	-lncurses
 CFLAGS+=	-fno-exceptions -fno-rtti
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 do-build:
 	cd ${WRKSRC} && \
 	${CXX} -c ${CFLAGS} -Iinclude/ -o src/curswin.o src/curswin.cpp && \
@@ -40,13 +41,13 @@ do-build:
 	${LDFLAGS} -o ${PORTNAME}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/gubby ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/gubby ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/doc/gubby.1 ${STAGEDIR}${PREFIX}/man/man1
 
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}/README
+.if ${PORT_OPTIONS:MDOCS}
+post-install:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.TXT ${STAGEDIR}${DOCSDIR}/README
 .endif
 
-MAN1=		gubby.1
 .include <bsd.port.mk>

Modified: head/mail/gubby/pkg-descr
==============================================================================
--- head/mail/gubby/pkg-descr	Fri Jun 27 12:34:52 2014	(r359512)
+++ head/mail/gubby/pkg-descr	Fri Jun 27 12:37:43 2014	(r359513)
@@ -5,4 +5,4 @@ resources. Users can launch a specified 
 and pressing enter.
 
 Author:	C.S. Larsen <csl@sublevel3.org>
-WWW:	http://gubby.sourceforge.net
+WWW: http://gubby.sourceforge.net

Modified: head/mail/gubby/pkg-plist
==============================================================================
--- head/mail/gubby/pkg-plist	Fri Jun 27 12:34:52 2014	(r359512)
+++ head/mail/gubby/pkg-plist	Fri Jun 27 12:37:43 2014	(r359513)
@@ -1,3 +1,4 @@
 bin/gubby
+man/man1/gubby.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%@dirrm %%DOCSDIR%%



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