freebsd-ports/math/abs/Makefile
Niclas Zeising 82f108df30 Add USES=xorg USES=gl, ports categories m
Add USES=xorg and USES=gl to ports in categories starting with 'm'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-06 18:07:22 +00:00

36 lines
906 B
Makefile

# 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
USES= xorg
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>