2004-12-27 02:41:44 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2004/12/27 07:41:44 alek Exp $
|
1998-09-23 11:58:23 -04:00
|
|
|
|
2001-05-05 21:58:40 -04:00
|
|
|
COMMENT= "spreadsheet program under X11"
|
|
|
|
|
2000-08-19 00:40:57 -04:00
|
|
|
DISTNAME= xspread3.1.1c
|
|
|
|
PKGNAME= xspread-3.1.1c
|
1998-09-23 11:58:23 -04:00
|
|
|
CATEGORIES= math
|
|
|
|
|
2002-11-23 02:25:59 -05:00
|
|
|
# GPLv2
|
2000-04-08 18:04:32 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-27 02:41:44 -05:00
|
|
|
WANTLIB= X11 c curses m termlib
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2002-11-23 02:25:59 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_OPENBSD}
|
1998-09-23 11:58:23 -04:00
|
|
|
|
2001-07-11 02:20:11 -04:00
|
|
|
USE_X11= Yes
|
2000-08-19 00:40:57 -04:00
|
|
|
CONFIGURE_STYLE= gnu old
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
|
|
|
|
LIBS="-L${X11BASE}/lib"
|
|
|
|
|
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@find ${WRKSRC} -name "*.tmp" -delete || /usr/bin/true
|
|
|
|
${INSTALL_DATA_DIR} \
|
2002-11-23 02:25:59 -05:00
|
|
|
${PREFIX}/share/xspread/{doc,documents,tests}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xspread
|
2000-08-19 00:40:57 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/xspread
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/x/notes ${PREFIX}/share/xspread
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/xspread/doc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/documents/* ${PREFIX}/share/xspread/documents
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample_files/* \
|
2002-11-23 02:25:59 -05:00
|
|
|
${PREFIX}/share/examples/xspread
|
2000-08-19 00:40:57 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tests/* ${PREFIX}/share/xspread/tests
|
1998-09-23 11:58:23 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|