mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
80df7c97b6
- Unbreak by updating MASTER_SITES PR: 244409 Submitted by: Chris Hutchinson (maintainer)
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# Created by: Kelly Yancey <kbyanc@posi.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= aee
|
|
PORTVERSION= 2.2.21
|
|
PORTREVISION= 2
|
|
CATEGORIES= editors
|
|
MASTER_SITES= https://BSDforge.com/projects/source/editors/aee/
|
|
|
|
MAINTAINER= portmaster@BSDforge.com
|
|
COMMENT= Easy editor with both curses and X11 interfaces
|
|
|
|
LICENSE= ART10
|
|
|
|
USES= ncurses
|
|
PLIST_FILES= bin/aee bin/rae man/man1/aee.1.gz ${DATADIR}/help.ae
|
|
ALL_TARGET= main
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= XAE
|
|
|
|
XAE_DESC= Build X11 version 'xae'
|
|
XAE_USES= xorg
|
|
XAE_USE= XORG=x11
|
|
XAE_PLIST_FILES= bin/xae bin/rxae
|
|
XAE_ALL_TARGET= xae
|
|
XAE_DESKTOP_ENTRIES= "Xae" "" "" "xae" "" false
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|cc|${CC}|g ; \
|
|
s|"-s"|""|g ; \
|
|
s|/usr/X11R6|${LOCALBASE}|g' \
|
|
${WRKSRC}/create.mk.aee \
|
|
${WRKSRC}/create.mk.xae
|
|
@${REINPLACE_CMD} -e 's|/usr/local/lib|${DATADIR}|g' \
|
|
${WRKSRC}/aee.1 \
|
|
${WRKSRC}/localize.c
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/aee ${STAGEDIR}${PREFIX}/bin
|
|
(cd ${STAGEDIR}${PREFIX}/bin && ${LN} aee rae)
|
|
${INSTALL_MAN} ${WRKSRC}/aee.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
${INSTALL_DATA} ${WRKSRC}/help.ae ${STAGEDIR}${DATADIR}
|
|
|
|
do-install-XAE-on:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xae ${STAGEDIR}${PREFIX}/bin
|
|
(cd ${STAGEDIR}${PREFIX}/bin && ${LN} xae rxae)
|
|
|
|
.include <bsd.port.mk>
|