1995-07-01 09:12:09 +00:00
|
|
|
# New ports collection makefile for: xspread
|
|
|
|
# Date created: 28 June 1995
|
|
|
|
# Whom: janek@gaja.ipan.lublin.pl
|
|
|
|
#
|
1999-10-10 23:49:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
1995-07-01 09:12:09 +00:00
|
|
|
|
2000-04-14 07:20:58 +00:00
|
|
|
PORTNAME= xspread
|
|
|
|
PORTVERSION= 3.1.1c
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
PORTREVISION= 2
|
1996-11-18 10:37:03 +00:00
|
|
|
CATEGORIES= math
|
2004-04-13 04:29:06 +00:00
|
|
|
MASTER_SITES= # disappeared
|
2001-11-05 11:08:02 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
1999-10-10 23:49:55 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-13 01:53:09 +00:00
|
|
|
COMMENT= A spreadsheet program for X and terminals
|
1999-10-10 23:49:55 +00:00
|
|
|
|
2001-11-05 11:08:02 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig
|
|
|
|
|
1999-10-10 23:49:55 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-23 22:26:39 +00:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
1999-10-10 23:49:55 +00:00
|
|
|
|
|
|
|
MAN1= xspread.1 pxspread.1
|
|
|
|
|
2001-11-05 11:08:02 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pxspread ${PREFIX}/bin/pxspread
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xspread ${PREFIX}/bin/xspread
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/pxspread.man ${MANPREFIX}/man/man1/pxspread.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xspread.man ${MANPREFIX}/man/man1/xspread.1
|
1999-10-10 23:49:55 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-11-05 11:08:02 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/x/notes ${DOCSDIR}
|
|
|
|
.for dir in doc documents sample_files tests
|
|
|
|
@${TAR} -C ${WRKSRC} --exclude '*.tmp' -cf - ${dir} | \
|
|
|
|
${TAR} -C ${DOCSDIR} --unlink -xf -
|
|
|
|
.endfor
|
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
1999-10-10 23:49:55 +00:00
|
|
|
.endif
|
1995-07-01 09:12:09 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|