From 922255dfe760dd814e261ebafbc6a0a8b664711d Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sat, 1 Feb 2014 23:41:51 +0000 Subject: [PATCH] Stage support --- deskutils/bigyear/Makefile | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/deskutils/bigyear/Makefile b/deskutils/bigyear/Makefile index d409b4ab4a50..071182298644 100644 --- a/deskutils/bigyear/Makefile +++ b/deskutils/bigyear/Makefile @@ -9,22 +9,17 @@ MASTER_SITES= http://mahon.cwx.net/sources/ DISTNAME= ${PORTNAME} MAINTAINER= ports@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