aboutsummaryrefslogtreecommitdiff
path: root/devel/pymacs
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
commit4942ce5a7d8a3d0cbebaf4d202011850d1f7569f (patch)
treedb1f21912f461000d609ddcd5d130946bcfe9e09 /devel/pymacs
parentb4be9b354e86bd790925c5a9a2e67df8ba20bc00 (diff)
downloadports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.tar.gz
ports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.zip
Notes
Diffstat (limited to 'devel/pymacs')
-rw-r--r--devel/pymacs/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/pymacs/Makefile b/devel/pymacs/Makefile
index aa8c96e51073..2a566ff901ab 100644
--- a/devel/pymacs/Makefile
+++ b/devel/pymacs/Makefile
@@ -25,6 +25,12 @@ USE_EMACS= yes
EMACS_PORT_NAME=xemacs21
.endif
+post-patch:
+.for f in __init__.py pymacs.py
+ ${REINPLACE_CMD} -e 's,# Copyright,# coding:latin1 Copyright,g' \
+ ${WRKSRC}/Pymacs/$f
+.endfor
+
# Install the emacs side of things
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/pymacs.el ${PREFIX}/${EMACS_SITE_LISPDIR}