Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 13:08:29 +0000 (UTC)
From:      Philippe Audeoud <jadawin@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337727 - in head: editors/hexcurse games/banihstypos irc/irssi-xmpp mail/vrfy math/p5-Math-BaseCalc
Message-ID:  <201312271308.rBRD8T5a038168@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jadawin
Date: Fri Dec 27 13:08:28 2013
New Revision: 337727
URL: http://svnweb.freebsd.org/changeset/ports/337727

Log:
  - Support STAGE

Modified:
  head/editors/hexcurse/Makefile   (contents, props changed)
  head/games/banihstypos/Makefile   (contents, props changed)
  head/irc/irssi-xmpp/Makefile
  head/mail/vrfy/Makefile   (contents, props changed)
  head/math/p5-Math-BaseCalc/Makefile
  head/math/p5-Math-BaseCalc/pkg-plist   (contents, props changed)

Modified: head/editors/hexcurse/Makefile
==============================================================================
--- head/editors/hexcurse/Makefile	Fri Dec 27 13:08:19 2013	(r337726)
+++ head/editors/hexcurse/Makefile	Fri Dec 27 13:08:28 2013	(r337727)
@@ -12,8 +12,6 @@ COMMENT=	A versatile ncurses-based hex e
 
 GNU_CONFIGURE=	yes
 
-MAN1=		hexcurse.1
-PLIST_FILES=	bin/hexcurse
+PLIST_FILES=	bin/hexcurse man/man1/hexcurse.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/games/banihstypos/Makefile
==============================================================================
--- head/games/banihstypos/Makefile	Fri Dec 27 13:08:19 2013	(r337726)
+++ head/games/banihstypos/Makefile	Fri Dec 27 13:08:28 2013	(r337727)
@@ -16,16 +16,17 @@ SUB_LIST=	PORTNAME=${PORTNAME}
 
 PLIST_FILES=	bin/banihstypos
 
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	readme.txt
+.endif
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/banihstypos ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/banihstypos ${STAGEDIR}${PREFIX}/bin
+.if ! ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
 .endif
-post-install:
-	@${ECHO_MSG}; ${CAT} ${PKGMESSAGE}; ${ECHO_MSG}
 
 .include <bsd.port.mk>

Modified: head/irc/irssi-xmpp/Makefile
==============================================================================
--- head/irc/irssi-xmpp/Makefile	Fri Dec 27 13:08:19 2013	(r337726)
+++ head/irc/irssi-xmpp/Makefile	Fri Dec 27 13:08:28 2013	(r337727)
@@ -17,23 +17,16 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USES=		pkgconfig
 USE_LDCONFIG=	yes
-MAKE_ARGS=	CC="${CC}"
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
 DATADIR=	${PREFIX}/share/irssi
 DOCSDIR=	${PREFIX}/share/doc/irssi
+CFLAGS_amd64=	-fPIC
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 # Try to unbreak parallel builds (-jX)
 	@${REINPLACE_CMD} -E 's|cd (.+) && (\$${MAKE})|\2 -C \1|' \
 		${WRKSRC}/Makefile ${WRKSRC}/src/Makefile
-# Uphold CFLAGS
-	@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' ${WRKSRC}/config.mk
-.if ! ${PORT_OPTIONS:MDOCS}
-	@${REINPLACE_CMD} -e 's|doc-install ||' ${WRKSRC}/Makefile
-.endif
 
 .include <bsd.port.mk>

Modified: head/mail/vrfy/Makefile
==============================================================================
--- head/mail/vrfy/Makefile	Fri Dec 27 13:08:19 2013	(r337726)
+++ head/mail/vrfy/Makefile	Fri Dec 27 13:08:28 2013	(r337727)
@@ -13,14 +13,9 @@ COMMENT=	Verify mail address
 
 WRKSRC=		${WRKDIR}
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" RES=""
-MAN1=		vrfy.1
-MANCOMPRESSED=	yes
 PLIST_FILES=	bin/vrfy
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKDIR}/vrfy ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKDIR}/${MAN1} ${PREFIX}/man/man1/
-	${GZIP_CMD} ${PREFIX}/man/man1/${MAN1}
+	${INSTALL_PROGRAM} ${WRKDIR}/vrfy ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/math/p5-Math-BaseCalc/Makefile
==============================================================================
--- head/math/p5-Math-BaseCalc/Makefile	Fri Dec 27 13:08:19 2013	(r337726)
+++ head/math/p5-Math-BaseCalc/Makefile	Fri Dec 27 13:08:28 2013	(r337727)
@@ -13,7 +13,4 @@ COMMENT=	Convert numbers between various
 USES=		perl5
 USE_PERL5=	configure
 
-MAN3=		Math::BaseCalc.3
-
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/math/p5-Math-BaseCalc/pkg-plist
==============================================================================
--- head/math/p5-Math-BaseCalc/pkg-plist	Fri Dec 27 13:08:19 2013	(r337726)
+++ head/math/p5-Math-BaseCalc/pkg-plist	Fri Dec 27 13:08:28 2013	(r337727)
@@ -1,5 +1,6 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BaseCalc/.packlist
 %%SITE_PERL%%/Math/BaseCalc.pm
+%%PERL5_MAN3%%/Math::BaseCalc.3.gz
 @dirrmtry %%SITE_PERL%%/Math
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BaseCalc
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math



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