2012-09-01 08:02:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2012/09/01 12:02:27 naddy Exp $
|
2010-05-11 13:14:01 -04:00
|
|
|
|
|
|
|
COMMENT = library for column approximate minimum degree ordering
|
|
|
|
|
2012-02-16 18:03:15 -05:00
|
|
|
DISTNAME = CCOLAMD-2.7.4
|
2010-07-18 06:30:41 -04:00
|
|
|
PKGNAME = ${DISTNAME:L}
|
2012-09-01 08:02:26 -04:00
|
|
|
REVISION = 0
|
2010-05-11 13:14:01 -04:00
|
|
|
SHARED_LIBS += ccolamd 0.0
|
|
|
|
CATEGORIES = math
|
|
|
|
|
|
|
|
HOMEPAGE = http://www.cise.ufl.edu/research/sparse/ccolamd/
|
|
|
|
|
|
|
|
MAINTAINER = Paul Irofti <pirofti@openbsd.org>
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
MASTER_SITES = ${HOMEPAGE}/
|
|
|
|
WRKDIST = ${WRKDIR}/CCOLAMD
|
|
|
|
WRKSRC = ${WRKDIST}/Source
|
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
BUILD_DEPENDS = math/ufconfig
|
|
|
|
RUN_DEPENDS = math/ufconfig
|
2010-05-11 13:14:01 -04:00
|
|
|
|
|
|
|
MAKE_ENV= SHLIB_MAJOR=${LIBccolamd_VERSION:R} \
|
|
|
|
SHLIB_MINOR=${LIBccolamd_VERSION:E}
|
|
|
|
|
2010-10-26 14:06:10 -04:00
|
|
|
CFLAGS += -I${WRKDIST}/Include -I${LOCALBASE}/include
|
2010-05-11 13:14:01 -04:00
|
|
|
FAKE_FLAGS = LIBDIR=${LOCALBASE}/lib DEBUGLIBS=no
|
|
|
|
|
|
|
|
MAKE_FILE= ${FILESDIR}/Makefile
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/ccolamd
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/Include/ccolamd.h ${PREFIX}/include/ccolamd
|
|
|
|
.include <bsd.port.mk>
|