openbsd-ports/math/xspread/Makefile
pvalchev 0709e3b86f Some updates from Sebastian Stark <seb@todesplanet.de>:
o put examples into ${PREFIX}/share/examples/xspread
o remove unnecessary build documentation from PLIST
o use ${MASTER_SITE_OPENBSD} since the original ftp server refuses
  anonymous connections
o add comment about license
o regen patches with update-patches
2002-11-23 07:25:59 +00:00

38 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2002/11/23 07:25:59 pvalchev Exp $
COMMENT= "spreadsheet program under X11"
DISTNAME= xspread3.1.1c
PKGNAME= xspread-3.1.1c
CATEGORIES= math
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_OPENBSD}
USE_X11= Yes
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} \
${PREFIX}/share/xspread/{doc,documents,tests}
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xspread
${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/* \
${PREFIX}/share/examples/xspread
${INSTALL_DATA} ${WRKSRC}/tests/* ${PREFIX}/share/xspread/tests
.include <bsd.port.mk>