Stealing some fix-ups from ports/devel/mm:

1. post-install ldconfig
2. CONFIGURE_ARGS
3. PLIST ldconfigs
This commit is contained in:
Nick Sayer 1999-06-29 01:00:57 +00:00
parent 3a7f536abb
commit a9615ed854
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19891
2 changed files with 9 additions and 3 deletions

View file

@ -1,9 +1,9 @@
# New ports collection makefile for: mhash
# Version required: 5.0
# Date created: Mon Jan 11 11:53:54 EET 1999
# Version required: 0.5.0
# Date created: Mon Jun 28 17:59:13 PDT 1999
# Whom: nsayer@freebsd.org
#
# $Id:$
# $Id: Makefile,v 1.1.1.1 1999/06/28 22:37:58 nsayer Exp $
#
DISTNAME= mhash-0.5.0
@ -13,9 +13,13 @@ MASTER_SITES= http://sasweb.de/mhash/data/
MAINTAINER= nsayer@freebsd.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
MAN3= mhash.3
RESTRICTED= "yes - cryptography"
post-install:
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

View file

@ -3,3 +3,5 @@ lib/libmhash.so.1
lib/libmhash.so
lib/libmhash.a
include/mhash.h
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B