aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1995-04-11 23:28:11 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1995-04-11 23:28:11 +0000
commit48c94234e0b359b8da58b1cc1db58638d5938132 (patch)
treecbe47b30573d40c31635e77d08ae8945bf52ec87 /lang
parent1af56ecdde1b64ee75fe394f58f8eeefd468f873 (diff)
downloadports-48c94234e0b359b8da58b1cc1db58638d5938132.tar.gz
ports-48c94234e0b359b8da58b1cc1db58638d5938132.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/elk/Makefile14
-rw-r--r--lang/elk/pkg-plist2
2 files changed, 13 insertions, 3 deletions
diff --git a/lang/elk/Makefile b/lang/elk/Makefile
index 8f705870fc44..c34a844972f2 100644
--- a/lang/elk/Makefile
+++ b/lang/elk/Makefile
@@ -8,22 +8,32 @@ DISTNAME= elk-2.2
MASTER_SITES= ftp://ftp.x.org/contrib/devel_tools/
CATEGORIES+= languages
PATCH_STRIP= -p1
+ALL_TARGET= default
+MAINTAINER= thomas@ghpc8.ihf.rwth-aachen.de
#
# /usr/local/lib/elk is built into the port.
# change it in ${WRKSRC}/config/site if you change it here and vice versa.
+# i also renamed /usr/local/bin/scheme to /usr/local/bin/elk
+# to avoid a clash with mit-scheme.
#
pre-install:
+ @mkdir -p ${PREFIX}/bin
+ @mkdir -p ${PREFIX}/include
+ @mkdir -p ${PREFIX}/man/man1
@mkdir -p ${PREFIX}/lib/elk
install: build
@echo "===> Installing for ${DISTNAME}"
@${MAKE} ${MAKEFLAGS} pre-install
@(cd ${WRKSRC}; ${MAKE} PREFIX=${PREFIX} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
- @(cd /usr/local/lib/elk; mv bin/scheme ${PREFIX}/bin; \
- mkdir -p ${PREFIX}/include/elk; mv include/*.h ${PREFIX}/include/elk; \
+ @(cd /usr/local/lib/elk; \
+ mv bin/scheme ${PREFIX}/bin/elk; \
+ mkdir -p ${PREFIX}/include/elk; \
+ mv include/*.h ${PREFIX}/include/elk; \
rmdir bin include)
+ @install -c -o bin -g bin -m 444 ${WRKSRC}/doc/man/elk.1 ${PREFIX}/man/man1
@${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE}
.include <bsd.port.mk>
diff --git a/lang/elk/pkg-plist b/lang/elk/pkg-plist
index 964b561c2208..91911cf93d42 100644
--- a/lang/elk/pkg-plist
+++ b/lang/elk/pkg-plist
@@ -1,4 +1,4 @@
@cwd /usr/local
-bin/scheme
+bin/elk
lib/elk
include/elk