# $OpenBSD: Makefile,v 1.9 2012/09/01 12:02:27 naddy Exp $ COMMENT = library for column approximate minimum degree ordering DISTNAME = CCOLAMD-2.7.4 PKGNAME = ${DISTNAME:L} REVISION = 0 SHARED_LIBS += ccolamd 0.0 CATEGORIES = math HOMEPAGE = http://www.cise.ufl.edu/research/sparse/ccolamd/ MAINTAINER = Paul Irofti # 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 BUILD_DEPENDS = math/ufconfig RUN_DEPENDS = math/ufconfig MAKE_ENV= SHLIB_MAJOR=${LIBccolamd_VERSION:R} \ SHLIB_MINOR=${LIBccolamd_VERSION:E} CFLAGS += -I${WRKDIST}/Include -I${LOCALBASE}/include 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