Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 00:46:21 +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: r340971 - head/devel/picprog
Message-ID:  <201401250046.s0P0kL9S021509@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Jan 25 00:46:21 2014
New Revision: 340971
URL: http://svnweb.freebsd.org/changeset/ports/340971
QAT: https://qat.redports.org/buildarchive/r340971/

Log:
  Support stage

Modified:
  head/devel/picprog/Makefile

Modified: head/devel/picprog/Makefile
==============================================================================
--- head/devel/picprog/Makefile	Sat Jan 25 00:43:00 2014	(r340970)
+++ head/devel/picprog/Makefile	Sat Jan 25 00:46:21 2014	(r340971)
@@ -9,35 +9,30 @@ MASTER_SITES=	http://hyvatti.iki.fi/~jaa
 MAINTAINER=	erik@bz.bzflag.bz
 COMMENT=	Serial port pic16c84 programmer
 
-USE_GMAKE=	yes
+OPTIONS_DEFINE=	DOCS
 
-PLIST_FILES=	bin/picprog
-MAN1=		picprog.1
+USES=		gmake
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+PLIST_FILES=	bin/picprog \
+		man/man1/picprog.1.gz
 
-.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	README anybrowser3.png jdm84ne3.png jdm84pcb6.png picprog.html
-.endif
+
+.for a in ia64 powerpc sparc64
+BROKEN_${a}=		Does not compile on ia64, powerpc, or sparc64
+.endfor
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^CXX=.*||; s|^CXXFLAGS=.*||; s|^LDFLAGS=.*||' \
 		${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/picprog ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/picprog.1 ${MAN1PREFIX}/man/man1
-
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/picprog ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/picprog.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in README *.png picprog.html
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
-BROKEN=		Does not compile on ia64, powerpc, or sparc64
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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