aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/aee/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/aee/Makefile b/editors/aee/Makefile
index 5014c372e71b..5c5f749fbb81 100644
--- a/editors/aee/Makefile
+++ b/editors/aee/Makefile
@@ -11,7 +11,7 @@ PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://mahon.cwx.net/sources/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= rfarmer@predatorlabs.net
COMMENT= An easy editor with both curses and X11 interfaces
OPTIONS= XAE "Build X11 version 'xae'" off
@@ -31,6 +31,12 @@ PLIST_FILES= bin/aee bin/rae lib/help.ae %%XAE%%bin/xae %%XAE%%bin/rxae
MAN1= aee.1
+post-patch:
+ @${REINPLACE_CMD} -e 's|cc|${CC}|g' ${WRKSRC}/create.mk.aee
+ @${REINPLACE_CMD} -e 's|cc|${CC}|g' ${WRKSRC}/create.mk.xae
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
+ ${WRKSRC}/create.mk.xae
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/aee ${PREFIX}/bin
${LN} ${PREFIX}/bin/aee ${PREFIX}/bin/rae