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
|
1996-11-18 10:37:03 +00:00
|
|
|
CATEGORIES= math
|
2000-06-08 15:42:52 +00:00
|
|
|
MASTER_SITES= http://linux.tucows.com/files/x11/office/
|
2000-04-14 07:20:58 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1999-10-10 23:49:55 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
|
|
|
USE_XLIB= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
|
|
|
|
LIBS="-L${X11BASE}/lib"
|
|
|
|
|
1999-10-31 23:54:43 +00:00
|
|
|
FETCH_BEFORE_ARGS= -t
|
|
|
|
|
1999-10-10 23:49:55 +00:00
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
MAN1= xspread.1 pxspread.1
|
|
|
|
|
|
|
|
XS_DIR= ${PREFIX}/share/xspread
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
.for file in config.cache config.h config.log config.status
|
|
|
|
@${RM} ${WRKSRC}/${file} || ${TRUE}
|
|
|
|
.endfor
|
1995-07-01 09:12:09 +00:00
|
|
|
|
1999-10-10 23:49:55 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@find ${WRKSRC} -name "*.tmp" -delete || ${TRUE}
|
|
|
|
@${MKDIR} ${XS_DIR}
|
|
|
|
@${MKDIR} ${XS_DIR}/doc
|
|
|
|
@${MKDIR} ${XS_DIR}/documents
|
|
|
|
@${MKDIR} ${XS_DIR}/sample_files
|
|
|
|
@${MKDIR} ${XS_DIR}/tests
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${XS_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/x/notes ${XS_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${XS_DIR}/doc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/documents/* ${XS_DIR}/documents
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample_files/* ${XS_DIR}/sample_files
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tests/* ${XS_DIR}/tests
|
|
|
|
.endif
|
1995-07-01 09:12:09 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|