aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mpeg-lib
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-06-24 19:42:32 +0800
committerasami <asami@FreeBSD.org>1995-06-24 19:42:32 +0800
commitd21b71cc5a3e11bccc9aa5fe5763254cd565d9a5 (patch)
tree560e7eb8a07c987120c853aef90742f320b09b93 /graphics/mpeg-lib
parent8d54bac5baa3871cb4702456e31c93aedc116bd5 (diff)
downloadfreebsd-ports-gnome-d21b71cc5a3e11bccc9aa5fe5763254cd565d9a5.tar.gz
freebsd-ports-gnome-d21b71cc5a3e11bccc9aa5fe5763254cd565d9a5.tar.zst
freebsd-ports-gnome-d21b71cc5a3e11bccc9aa5fe5763254cd565d9a5.zip
Add
post-install: pkg_add -m ${PREFIX}/lib to Makefiles and @exec ldconfig -m %D to packing lists of ports that install shared libraries. This should get rid of a huge chunk of confusion for novice users! All hail Paul Kranenburg! :)
Diffstat (limited to 'graphics/mpeg-lib')
-rw-r--r--graphics/mpeg-lib/Makefile5
-rw-r--r--graphics/mpeg-lib/pkg-plist1
2 files changed, 5 insertions, 1 deletions
diff --git a/graphics/mpeg-lib/Makefile b/graphics/mpeg-lib/Makefile
index 04a57cd45f1f..1a0f2a2a017e 100644
--- a/graphics/mpeg-lib/Makefile
+++ b/graphics/mpeg-lib/Makefile
@@ -3,7 +3,7 @@
# Date created: 16 November 1994
# Whom: torstenb
#
-# $Id: Makefile,v 1.2 1995/04/01 12:45:52 jkh Exp $
+# $Id: Makefile,v 1.3 1995/04/09 07:09:35 asami Exp $
#
DISTNAME= mpeg_lib-1.1
@@ -16,4 +16,7 @@ pre-install:
@mkdir -p ${PREFIX}/bin ${PREFIX}/lib ${PREFIX}/include
@mkdir -p ${PREFIX}/man/man1 ${PREFIX}/man/man3
+post-install:
+ ldconfig -m ${PREFIX}/lib
+
.include <bsd.port.mk>
diff --git a/graphics/mpeg-lib/pkg-plist b/graphics/mpeg-lib/pkg-plist
index 88ea71bb4a94..589fb5ab1ea0 100644
--- a/graphics/mpeg-lib/pkg-plist
+++ b/graphics/mpeg-lib/pkg-plist
@@ -1,4 +1,5 @@
@cwd /usr/local
lib/libmpeg.a
lib/libmpeg.so.1.1
+@exec ldconfig -m %B
include/mpeg.h