Skip to content

Commit

Permalink
Stage support
Browse files Browse the repository at this point in the history
  • Loading branch information
ant1 committed Feb 1, 2014
1 parent e570a29 commit 81ef994
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions deskutils/bigyear/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,17 @@ MASTER_SITES= http://mahon.cwx.net/sources/
DISTNAME= ${PORTNAME}

MAINTAINER= [email protected]
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>

0 comments on commit 81ef994

Please sign in to comment.