aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1995-04-12 07:28:11 +0800
committerjmz <jmz@FreeBSD.org>1995-04-12 07:28:11 +0800
commit7a90672e4d4bf6a32dc50f12bf522586b0eb459e (patch)
tree9bc9e9af5754256e4f27bed828b0e4faccfc6b33
parenteb02d9ba8fdb3e9566bc1ef1d83254d34ec19e9d (diff)
downloadfreebsd-ports-graphics-7a90672e4d4bf6a32dc50f12bf522586b0eb459e.tar.gz
freebsd-ports-graphics-7a90672e4d4bf6a32dc50f12bf522586b0eb459e.tar.zst
freebsd-ports-graphics-7a90672e4d4bf6a32dc50f12bf522586b0eb459e.zip
Update
Submitted by: Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
-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 8f705870fc4..c34a844972f 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 964b561c220..91911cf93d4 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