forked from Lainports/freebsd-ports
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
33 lines
704 B
Makefile
33 lines
704 B
Makefile
# Created by: nectar@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= esh
|
|
PORTVERSION= 0.8.5
|
|
CATEGORIES= shells
|
|
MASTER_SITES= GENTOO
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= The "easy shell", a small shell with Lisp-like syntax
|
|
|
|
LICENSE= GPLv2
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USES= readline
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}"
|
|
|
|
INFO= esh
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|<readline.h>|<readline/readline.h>| ; \
|
|
s|<history.h>|<readline/history.h>|' ${WRKSRC}/read-rl.c
|
|
|
|
pre-build:
|
|
@(cd ${WRKSRC} && ${MAKE} clean)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/esh ${STAGEDIR}${PREFIX}/bin/esh
|
|
${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
|
|
|
|
.include <bsd.port.mk>
|