2009-01-09 10:42:42 +01:00
|
|
|
# New ports collection makefile for: sc
|
|
|
|
# Date created: 30 July 1998
|
|
|
|
# Whom: Heinz Tschabitscher
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sc
|
|
|
|
PORTVERSION= 7.16
|
2009-03-28 22:54:01 +01:00
|
|
|
PORTREVISION= 1
|
2009-01-09 10:42:42 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
|
|
MASTER_SITE_SUBDIR= apps/financial/spreadsheet
|
|
|
|
|
2010-02-23 19:07:14 +01:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2009-01-09 10:42:42 +01:00
|
|
|
COMMENT= A curses-based spreadsheet program
|
|
|
|
|
|
|
|
MAN1= sc.1 psc.1
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^prefix=/s,=.*,=$${PREFIX},' \
|
|
|
|
-e '/^CC=/s,=.*,=${CC},' \
|
2009-03-28 22:54:01 +01:00
|
|
|
-e '/^CFLAGS=/s,=.*,=-DSYSV3 ${CFLAGS} -O0,' \
|
2009-01-09 10:42:42 +01:00
|
|
|
-e '/^LIBDIR=/s,=.*,=${DATADIR},' \
|
|
|
|
-e '/^YACC=/s,=.*,=${YACC},' \
|
|
|
|
-e '/usr.bin.crypt/s,^# *,,' \
|
|
|
|
-e '/mkdir.*plugins/d' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e 's/^void/int/' ${WRKSRC}/crypt.c
|
|
|
|
@${REINPLACE_CMD} -e '/flag.val/s/.*/#undef is_cleared/' ${WRKSRC}/sc.h
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|