svn commit: r342219 - head/deskutils/bigyear

Antoine Brodin antoine at FreeBSD.org
Sat Feb 1 23:41:51 UTC 2014


Author: antoine
Date: Sat Feb  1 23:41:51 2014
New Revision: 342219
URL: http://svnweb.freebsd.org/changeset/ports/342219
QAT: https://qat.redports.org/buildarchive/r342219/

Log:
  Stage support

Modified:
  head/deskutils/bigyear/Makefile

Modified: head/deskutils/bigyear/Makefile
==============================================================================
--- head/deskutils/bigyear/Makefile	Sat Feb  1 23:33:53 2014	(r342218)
+++ head/deskutils/bigyear/Makefile	Sat Feb  1 23:41:51 2014	(r342219)
@@ -9,22 +9,17 @@ MASTER_SITES=	http://mahon.cwx.net/sourc
 DISTNAME=	${PORTNAME}
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A program to print a large (one month per page) calendar
+COMMENT=	Program to print a large (one month per page) calendar
 
-MAN1=		bigyear.1
-PLIST_FILES=	bin/bigyear
+MAKE_ARGS=	CFLAGS="${CFLAGS}"
+
+PLIST_FILES=	bin/bigyear man/man1/bigyear.1.gz
 
-NO_STAGE=	yes
 post-extract:
 	${RM} ${WRKSRC}/bigyear
 
-do-patch:
-# No point wasting inodes with patches
-	@(${SED} -e 's,^CFLAGS,#CFLAGS,g' ${WRKSRC}/Makefile > ${WRKSRC}/foo && \
-		${MV} ${WRKSRC}/foo ${WRKSRC}/Makefile)
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bigyear ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/bigyear.1 ${PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/bigyear ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/bigyear.1 ${STAGEDIR}${PREFIX}/man/man1
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list