freebsd-ports/lang/alisp/Makefile
Adam Weinberger 511c49bdec In some straightforward cases, protect documentation behind
PORTDOCS, adding a DOCS option where needed, and a couple
PORTEXAMPLES for good measure.
2014-08-04 03:40:14 +00:00

29 lines
697 B
Makefile

# Created by: Nils M Holm <nmh@t3x.org>
# $FreeBSD$
PORTNAME= alisp
PORTVERSION= 20060917
CATEGORIES= lang devel lisp
MASTER_SITES= http://t3x.org/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Interpreter for purely symbolic LISP
USES= uidfix
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
post-patch: .SILENT
${REINPLACE_CMD} -E -e 's/cc/$$(CC)/' \
-e '/^CFLAGS/{s/=/+=/;s/-g//;s/-O//;}' \
-e '/strip alisp/d' \
-e '/install.*alisp /s/install/& ${STRIP}/' \
-e 's,(BIN|DOC|INC|LIB|MAN|SHR)DIR),DESTDIR)$$(&,' \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/alisp.h
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libalisp.so
.include <bsd.port.mk>