Org-mode is a mode for keeping notes, maintaining ToDo lists, and
doing project planning with a fast and effective plain-text system.
Org-mode develops organizational tasks around NOTES files that contain
information about projects as plain text. Org-mode is implemented on
top of outline-mode, which makes it possible to keep the content of
large files well structured. Visibility cycling and structure editing
help to work with the tree. Tables are easily created with a built-in
table editor. Org-mode supports ToDo items, deadlines, time stamps,
and scheduling. It dynamically compiles entries into an agenda. Plain
text URL-like links connect to websites, emails, Usenet messages, BBDB
entries, and any files related to the projects. For printing and
sharing of notes, an Org-mode file can be exported as a structured
ASCII file, or as HTML.
WWW: http://staff.science.uva.nl/~dominik/Tools/org/
PR: ports/109230
Submitted by: Kai Wang <kaiw27 at gmail.com>
2007-02-18 21:13:32 +00:00
|
|
|
# New ports collection makefile for: org-mode.el
|
|
|
|
# Date created: 2007-02-15
|
|
|
|
# Whom: Kai Wang <kaiw27@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= org-mode.el
|
|
|
|
PORTVERSION= 4.64
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 1
|
Org-mode is a mode for keeping notes, maintaining ToDo lists, and
doing project planning with a fast and effective plain-text system.
Org-mode develops organizational tasks around NOTES files that contain
information about projects as plain text. Org-mode is implemented on
top of outline-mode, which makes it possible to keep the content of
large files well structured. Visibility cycling and structure editing
help to work with the tree. Tables are easily created with a built-in
table editor. Org-mode supports ToDo items, deadlines, time stamps,
and scheduling. It dynamically compiles entries into an agenda. Plain
text URL-like links connect to websites, emails, Usenet messages, BBDB
entries, and any files related to the projects. For printing and
sharing of notes, an Org-mode file can be exported as a structured
ASCII file, or as HTML.
WWW: http://staff.science.uva.nl/~dominik/Tools/org/
PR: ports/109230
Submitted by: Kai Wang <kaiw27 at gmail.com>
2007-02-18 21:13:32 +00:00
|
|
|
CATEGORIES= deskutils elisp
|
|
|
|
MASTER_SITES= http://staff.science.uva.nl/~dominik/Tools/org/ \
|
|
|
|
http://web.student.chalmers.se/~kaiw/FreeBSD/disfiles/
|
|
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
DISTNAME= org-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= kaiw27@gmail.com
|
|
|
|
COMMENT= An Emacs mode for notes and project planning
|
|
|
|
|
|
|
|
USE_EMACS= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
EMACS_PORT_NAME?= emacs21
|
|
|
|
|
|
|
|
INFO= org
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if (${EMACS_PORT_NAME} == "xemacs21") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs21-mule") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs-devel") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs-devel-mule") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs-mule-xft")
|
|
|
|
PLIST_SUB+= XEMACS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= XEMACS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if (${EMACS_PORT_NAME} == "xemacs21") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs21-mule") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs-devel") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs-devel-mule") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs-mule-xft")
|
|
|
|
${REINPLACE_CMD} -Ee \
|
|
|
|
's%^(EMACS=)emacs%\1xemacs%; \
|
|
|
|
s%^(lispdir =.*)/share/emacs%\1/lib/xemacs%' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
.if (${EMACS_PORT_NAME} == "xemacs21") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs21-mule") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs-devel") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs-devel-mule") || \
|
|
|
|
(${EMACS_PORT_NAME} == "xemacs-mule-xft")
|
|
|
|
cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} install-noutline
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
${MV} ${WRKSRC}/org ${WRKSRC}/org.info
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
cd ${WRKSRC} && ${GMAKE} org.html
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in org.html org.pdf orgcard.pdf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|