Merge branch 'staged'
[dports.git] / math / abs / Makefile
1 PORTNAME=       abs
2 PORTVERSION=    0908
3 PORTREVISION=   4
4 CATEGORIES=     math
5 MASTER_SITES=   http://utenti.gufi.org/~gmarco/files/distfiles/ \
6                 http://fresh.t-systems-sfr.com/unix/src/privat2/
7 DISTNAME=       ${PORTNAME}-src-${PORTVERSION}
8
9 MAINTAINER=     gmarco@giovannelli.it
10 COMMENT=        Free spreadsheet with graphical user interface
11
12 PLIST_FILES=    bin/abs
13 USES=           xorg
14 USE_XORG=       x11 xpm xaw
15 WRKSRC=         ${WRKDIR}/abs-src-0.908
16
17 # Fix build on current
18 CFLAGS+=        -fcommon
19
20 post-patch:
21         @${REINPLACE_CMD} -e 's/trcasestr/strcasestr_/g' ${WRKSRC}/Database/cell.c
22
23 do-install:
24         ${INSTALL_PROGRAM} ${WRKSRC}/abs ${STAGEDIR}${PREFIX}/bin
25
26 post-install:
27         @${ECHO_MSG} "For the changes from previous version"
28         @${ECHO_MSG} "you can read the NEWS file in ${WRKSRC}"
29         @${ECHO_MSG} ""
30         @${ECHO_MSG} "There are also some examples (not installed) in :"
31         @${ECHO_MSG} "${WRKSRC}/Examples"
32         @${ECHO_MSG} ""
33         @${ECHO_MSG} ""
34
35 .include <bsd.port.mk>