1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/math/ses/Makefile

60 lines
1.4 KiB
Makefile
Raw Normal View History

2005-02-11 08:25:11 +00:00
# New ports collection makefile for: ses
# Date created: 11 February 2005
# Whom: dd
#
# $FreeBSD$
#
PORTNAME= ses
PORTVERSION= 031130
PORTREVISION= 1
2005-02-11 08:25:11 +00:00
CATEGORIES= math elisp
MASTER_SITES= http://home.comcast.net/~jyavner/ses/
DISTNAME= ses21-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
2005-02-11 08:25:11 +00:00
COMMENT= Simple Emacs Spreadsheet
BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs
RUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs
2007-07-28 22:47:04 +00:00
BROKEN= Does not build
2005-02-11 08:25:11 +00:00
DOC_FILES= ses-example.ses ses-readme.txt \
ses-coverage.el testcover.el unsafep-coverage.el
DOC_DIR= share/doc/ses
ELISP_FILES= ses.el unsafep.el
ELISP_DIR= share/emacs/site-lisp/ses
PLIST_FILES= ${ELISP_FILES:S/^/${ELISP_DIR}\//} \
${ELISP_FILES:S/^/${ELISP_DIR}\//S/$/c/} \
${DOC_FILES:S/^/${DOC_DIR}\//}
PLIST_DIRS= ${ELISP_DIR} ${DOC_DIR}
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= "Does not build on ia64"
.endif
2005-02-11 08:25:11 +00:00
do-build:
.for __f in ${ELISP_FILES}
cd ${WRKSRC} && echo '(setq load-path (cons "." load-path)) \
(batch-byte-compile)' | \
emacs -batch -q -l /dev/stdin ${__f} 2> /dev/null
.endfor
do-install:
${MKDIR} ${PREFIX}/${ELISP_DIR}
.for __f in ${ELISP_FILES}
${INSTALL_DATA} ${WRKSRC}/${__f} ${WRKSRC}/${__f}c \
${PREFIX}/${ELISP_DIR}
.endfor
${MKDIR} ${PREFIX}/${DOC_DIR}
.for __f in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${__f} ${PREFIX}/${DOC_DIR}
.endfor
.include <bsd.port.post.mk>