freebsd-ports/math/ccmath/Makefile
Erwin Lansing e8f0403b6d This port installs libccm.so in /usr/local/lib. ldconfig
will not pick this library up because it is missing a final digit.
This among other things, breaks LIB_DEPENDS.

PR:		83360
Submitted by:	Diane Bruce <db@db.net>
2005-07-13 08:39:18 +00:00

38 lines
936 B
Makefile

# New ports collection makefile for: ccmath
# Date created: 07 March 2001
# Whom: George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= ccmath
PORTVERSION= 2.2.1
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= libs
MAINTAINER= db@db.net
COMMENT= A mathematics library with many different functions
INSTALLS_SHLIB= yes
post-configure:
.if (${MACHINE_ARCH} != "i386")
(cd ${WRKSRC} && ${SH} non_intel.sh)
.endif
do-build:
(cd ${WRKSRC} && ${SH} makelibs.sh)
do-install:
${INSTALL_DATA} ${WRKSRC}/ccmath.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/tmp/libccm.a ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/tmp/libccm.so ${PREFIX}/lib
${LN} -s ${PREFIX}/lib/libccm.so ${PREFIX}/lib/libccm.so.1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ccmath
${INSTALL_DATA} ${WRKSRC}/manual/* ${PREFIX}/share/doc/ccmath
.endif
.include <bsd.port.mk>