aboutsummaryrefslogtreecommitdiffstats
path: root/lang/alisp
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-04 11:40:14 +0800
committeradamw <adamw@FreeBSD.org>2014-08-04 11:40:14 +0800
commit4eda3a9e794c7b1834eede06f4e71fe345c791d6 (patch)
tree813aa84d1ad8bd3cfafe0793f530eff6e9c6194c /lang/alisp
parent0eff41e7b9a36ea4031df2f12affda98bd0b9e61 (diff)
downloadfreebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.tar.gz
freebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.tar.zst
freebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.zip
In some straightforward cases, protect documentation behind
PORTDOCS, adding a DOCS option where needed, and a couple PORTEXAMPLES for good measure.
Diffstat (limited to 'lang/alisp')
-rw-r--r--lang/alisp/Makefile2
-rw-r--r--lang/alisp/pkg-plist4
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/alisp/Makefile b/lang/alisp/Makefile
index fc85ee3b8245..5a85a2f1d6e8 100644
--- a/lang/alisp/Makefile
+++ b/lang/alisp/Makefile
@@ -12,6 +12,8 @@ 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//;}' \
diff --git a/lang/alisp/pkg-plist b/lang/alisp/pkg-plist
index b8b3126464ef..02afa43aca35 100644
--- a/lang/alisp/pkg-plist
+++ b/lang/alisp/pkg-plist
@@ -59,6 +59,6 @@ man/man7/alisp.7.gz
%%DATADIR%%/unsort.l
%%DATADIR%%/xeval.l
%%DATADIR%%/zebra.l
-%%DOCSDIR%%/alisp.txt
+%%PORTDOCS%%%%DOCSDIR%%/alisp.txt
@dirrm %%DATADIR%%
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%