- Respect CC

- Fix build with X option
- Pass maintainer to submitter

PR:		ports/142344
Submitted by:	Rob Farmer <rfarmer@predatorlabs.net>
This commit is contained in:
Wesley Shields 2010-01-11 14:20:22 +00:00
parent aee818c622
commit a4ff19cc96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247613

View file

@ -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