aboutsummaryrefslogtreecommitdiffstats
path: root/math/abs/Makefile
blob: 2882b1aab28cb95a3ee584cba9d8f06060c5466f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: gmarco@giovannelli.it
# $FreeBSD$

PORTNAME=   abs
PORTVERSION=    0908
PORTREVISION=   4
CATEGORIES= math
MASTER_SITES=   http://utenti.gufi.org/~gmarco/files/distfiles/ \
        http://fresh.t-systems-sfr.com/unix/src/privat2/
DISTNAME=   ${PORTNAME}-src-${PORTVERSION}

MAINTAINER= gmarco@gufi.org
COMMENT=    Free spreadsheet with graphical user interface

PLIST_FILES=    bin/abs
USE_XORG=   x11 xpm xaw
WRKSRC=     ${WRKDIR}/abs-src-0.908

post-patch:
    @${REINPLACE_CMD} -e 's/trcasestr/strcasestr_/g' ${WRKSRC}/Database/cell.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/abs ${STAGEDIR}${PREFIX}/bin

post-install:
    @${ECHO_MSG} "For the changes from previous version"
    @${ECHO_MSG} "you can read the NEWS file in ${WRKSRC}"
    @${ECHO_MSG} ""
    @${ECHO_MSG} "There are also some examples (not installed) in :"
    @${ECHO_MSG} "${WRKSRC}/Examples"
    @${ECHO_MSG} ""
    @${ECHO_MSG} ""

.include <bsd.port.mk>