aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-02 07:41:51 +0800
committerantoine <antoine@FreeBSD.org>2014-02-02 07:41:51 +0800
commit81ef9941f2584b682b8be752b9ea419002e79736 (patch)
tree30ae69307b32e2dbe08030f39afae9783edbeb3a
parente570a29497607558d05d469852aa661107570105 (diff)
downloadfreebsd-ports-gnome-81ef9941f2584b682b8be752b9ea419002e79736.tar.gz
freebsd-ports-gnome-81ef9941f2584b682b8be752b9ea419002e79736.tar.zst
freebsd-ports-gnome-81ef9941f2584b682b8be752b9ea419002e79736.zip
Stage support
-rw-r--r--deskutils/bigyear/Makefile17
1 files 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 <bsd.port.mk>