1998-07-04 15:51:53 -04:00
|
|
|
# Ports collection Makefile for: Hesiod
|
|
|
|
# Version required: 3.0.2
|
|
|
|
# Date created: 6/11/1998
|
|
|
|
# Whom: n@nectar.com
|
|
|
|
#
|
1999-05-28 16:53:31 -04:00
|
|
|
# $Id: Makefile,v 1.4 1998/11/14 09:43:26 asami Exp $
|
1998-07-04 15:51:53 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= hesiod-3.0.2
|
|
|
|
CATEGORIES= net
|
1999-05-28 16:53:31 -04:00
|
|
|
MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/ \
|
|
|
|
http://www.nectar.cc/distfiles/
|
1998-07-04 15:51:53 -04:00
|
|
|
|
1998-10-07 15:34:46 -04:00
|
|
|
MAINTAINER= nectar@FreeBSD.ORG
|
1998-07-04 15:51:53 -04:00
|
|
|
|
|
|
|
MAN1= hesinfo.1
|
|
|
|
MAN3= hesiod.3 hesiod_end.3 hesiod_free_list.3 \
|
|
|
|
hesiod_free_passwd.3 hesiod_free_postoffice.3 \
|
|
|
|
hesiod_free_servent.3 hesiod_getmailhost.3 \
|
|
|
|
hesiod_getpwnam.3 hesiod_getpwuid.3 \
|
|
|
|
hesiod_getservbyname.3 hesiod_init.3 \
|
|
|
|
hesiod_resolve.3 hesiod_to_bind.3
|
|
|
|
MAN5= hesiod.conf.5
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
1998-10-07 15:34:46 -04:00
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == elf
|
|
|
|
SHLIB=libhesiod.so.3
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="-shared -Wl,-soname,${SHLIB}"
|
|
|
|
.else
|
|
|
|
SHLIB=libhesiod.so.3.0
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="-shared"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAKE_ENV+= SHLIB="${SHLIB}"
|
1998-11-14 04:43:39 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|