# $OpenBSD: Makefile,v 1.10 2012/08/12 17:13:22 jasper Exp $ COMMENT= C macros to add, find and delete items from a hash DISTNAME= uthash-1.9.6 CATEGORIES= devel HOMEPAGE= http://uthash.sf.net/ # BSD PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=uthash/} EXTRACT_SUFX= .tar.bz2 NO_BUILD= Yes PKG_ARCH= * REGRESS_TARGET= run_tests do-install: ${INSTALL_DATA} ${WRKSRC}/src/*.h ${PREFIX}/include ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uthash/img ${INSTALL_DATA} ${WRKSRC}/doc/html/*.{css,html} \ ${PREFIX}/share/doc/uthash ${INSTALL_DATA} ${WRKSRC}/doc/html/img/* ${PREFIX}/share/doc/uthash/img do-regress: @cd ${WRKSRC}/tests/ && exec ${SETENV} ${MAKE_ENV} \ ${MAKE_PROGRAM} ${REGRESS_FLAGS} -f ${MAKE_FILE} \ ${REGRESS_TARGET} .include