svn commit: r340971 - head/devel/picprog

Baptiste Daroussin bapt at FreeBSD.org
Sat Jan 25 00:46:22 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list