freebsd-ports/math/xspread/Makefile
Christian Weisgerber e852692922 Switch over to MASTER_SITE_DEBIAN.
Also convert COMMENT while I'm here.

List of candidate ports from

PR:		47881
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
2003-02-13 01:53:09 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: xspread
# Date created: 28 June 1995
# Whom: janek@gaja.ipan.lublin.pl
#
# $FreeBSD$
#
PORTNAME= xspread
PORTVERSION= 3.1.1c
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= dists/potato/main/source/math
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= A spreadsheet program for X and terminals
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LIBS="-L${X11BASE}/lib"
MAN1= xspread.1 pxspread.1
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
.if !defined(NOPORTDOCS)
@${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}
.endif
.include <bsd.port.mk>