From cb72c2906da31a19680c34ed595515c029f83250 Mon Sep 17 00:00:00 2001 From: nsayer Date: Tue, 29 Jun 1999 01:03:51 +0000 Subject: Stealing some good ideas from ports/devel/mm: 1. postinstall ldconfig 2. pkg/PLIST ldconfigs 3. CONFIGURE_ARGS --- security/libmcrypt/Makefile | 8 ++++++-- security/libmcrypt/pkg-plist | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'security') 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 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 -- cgit v1.1