aboutsummaryrefslogtreecommitdiff
path: root/lang/elk
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-04-24 11:29:30 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-04-24 11:29:30 +0000
commitb098c2ddf2892a3342c0b15bd420fc3c61ab791d (patch)
tree0d71ecc9df971843a1bbd9ff39aae1d5531efa25 /lang/elk
parentb901ee38c863f18667592741fec5af8333447d5b (diff)
downloadports-b098c2ddf2892a3342c0b15bd420fc3c61ab791d.tar.gz
ports-b098c2ddf2892a3342c0b15bd420fc3c61ab791d.zip
Notes
Diffstat (limited to 'lang/elk')
-rw-r--r--lang/elk/Makefile14
-rw-r--r--lang/elk/pkg-plist1
2 files changed, 6 insertions, 9 deletions
diff --git a/lang/elk/Makefile b/lang/elk/Makefile
index f2877ac7049f..19a17f87ea4c 100644
--- a/lang/elk/Makefile
+++ b/lang/elk/Makefile
@@ -3,6 +3,8 @@
# Date created: 08 March 1995
# Whom: thomas@ghpc8.ihf.rwth-aachen.de
#
+# $Id$
+#
DISTNAME= elk-2.2
CATEGORIES+= languages
@@ -21,21 +23,15 @@ ALL_TARGET= default
#
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; \
+post-install:
+ @(cd ${PREFIX}/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}
+ @gzip -9nf ${PREFIX}/man/man1/elk.1
.include <bsd.port.mk>
diff --git a/lang/elk/pkg-plist b/lang/elk/pkg-plist
index 91911cf93d42..c72ba351bf28 100644
--- a/lang/elk/pkg-plist
+++ b/lang/elk/pkg-plist
@@ -2,3 +2,4 @@
bin/elk
lib/elk
include/elk
+man/man1/elk.1.gz