1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

This commit is contained in:
Antoine Brodin 2014-02-01 23:41:51 +00:00
parent ca9e3703cd
commit 922255dfe7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342219

View File

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