summaryrefslogtreecommitdiffstats
path: root/security/libmcrypt
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>1999-06-29 01:03:51 +0000
committernsayer <nsayer@FreeBSD.org>1999-06-29 01:03:51 +0000
commitcb72c2906da31a19680c34ed595515c029f83250 (patch)
tree5523a44ff13b1e7ee7655fa42deb49048da22252 /security/libmcrypt
parentbe0cbdc02761100789486abcdc45ef38f20ace64 (diff)
downloadFreeBSD-ports-cb72c2906da31a19680c34ed595515c029f83250.zip
FreeBSD-ports-cb72c2906da31a19680c34ed595515c029f83250.tar.gz
Stealing some good ideas from ports/devel/mm:
1. postinstall ldconfig 2. pkg/PLIST ldconfigs 3. CONFIGURE_ARGS
Diffstat (limited to 'security/libmcrypt')
-rw-r--r--security/libmcrypt/Makefile8
-rw-r--r--security/libmcrypt/pkg-plist2
2 files changed, 8 insertions, 2 deletions
diff --git a/security/libmcrypt/Makefile b/security/libmcrypt/Makefile
index 704a1c2..25dd8df 100644
--- a/security/libmcrypt/Makefile
+++ b/security/libmcrypt/Makefile
@@ -1,9 +1,9 @@
# New ports collection makefile for: mcrypt
# Version required: 2.2
-# Date created: Mon Jan 11 11:53:54 EET 1999
+# Date created: Mon Jun 28 18:02:04 PDT 1999
# Whom: nsayer@freebsd.org
#
-# $Id:$
+# $Id: Makefile,v 1.1.1.1 1999/06/28 22:54:48 nsayer Exp $
#
DISTNAME= libmcrypt-2.2
@@ -13,9 +13,13 @@ MASTER_SITES= ftp://argeas.cs-net.gr/pub/unix/mcrypt/
MAINTAINER= nsayer@freebsd.org
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
MAN3= mcrypt.3
RESTRICTED= "yes - cryptography"
+post-install:
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
.include <bsd.port.mk>
diff --git a/security/libmcrypt/pkg-plist b/security/libmcrypt/pkg-plist
index 5b4f37f..4bd7dcd 100644
--- a/security/libmcrypt/pkg-plist
+++ b/security/libmcrypt/pkg-plist
@@ -3,3 +3,5 @@ lib/libmcrypt.la
lib/libmcrypt.so
lib/libmcrypt.so.2
include/mcrypt.h
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
OpenPOWER on IntegriCloud