aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-01 03:20:37 +0800
committerpawel <pawel@FreeBSD.org>2014-06-01 03:20:37 +0800
commitcc33f04aefcb3d5c6ed08156d25274de7af73312 (patch)
tree252e9b704b6ddf30fe32e5db6193d201ba8424e0 /lang
parent13258fbfcfc2a767f812829c0506a87a4430253a (diff)
downloadfreebsd-ports-gnome-cc33f04aefcb3d5c6ed08156d25274de7af73312.tar.gz
freebsd-ports-gnome-cc33f04aefcb3d5c6ed08156d25274de7af73312.tar.zst
freebsd-ports-gnome-cc33f04aefcb3d5c6ed08156d25274de7af73312.zip
- Add staging suport, allow it as normal user
- Remove leading article from COMMENT - Strip library
Diffstat (limited to 'lang')
-rw-r--r--lang/alisp/Makefile15
-rw-r--r--lang/alisp/pkg-plist1
2 files changed, 8 insertions, 8 deletions
diff --git a/lang/alisp/Makefile b/lang/alisp/Makefile
index e7d2d45a9443..fc85ee3b8245 100644
--- a/lang/alisp/Makefile
+++ b/lang/alisp/Makefile
@@ -7,22 +7,21 @@ CATEGORIES= lang devel lisp
MASTER_SITES= http://t3x.org/files/
MAINTAINER= ports@FreeBSD.org
-COMMENT= An interpreter for purely symbolic LISP
-
-MAN7= alisp.7
-MANCOMPRESSED= no
+COMMENT= Interpreter for purely symbolic LISP
+USES= uidfix
USE_LDCONFIG= yes
-MAKE_ENV+= BINOWN=${BINOWN} \
- BINGRP=${BINGRP}
post-patch: .SILENT
- ${REINPLACE_CMD} -e 's/cc/$$(CC)/' \
+ ${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
-NO_STAGE= yes
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libalisp.so
+
.include <bsd.port.mk>
diff --git a/lang/alisp/pkg-plist b/lang/alisp/pkg-plist
index 0cc02b54c4ff..b8b3126464ef 100644
--- a/lang/alisp/pkg-plist
+++ b/lang/alisp/pkg-plist
@@ -2,6 +2,7 @@ bin/alisp
lib/libalisp.a
lib/libalisp.so
include/alisp.h
+man/man7/alisp.7.gz
%%DATADIR%%/LICENSE
%%DATADIR%%/alisp-image
%%DATADIR%%/amk-tools.l