2012-08-12 13:13:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2012/08/12 17:13:22 jasper Exp $
|
2006-06-28 13:22:52 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= C macros to add, find and delete items from a hash
|
2006-06-28 13:22:52 -04:00
|
|
|
|
2012-08-12 13:13:22 -04:00
|
|
|
DISTNAME= uthash-1.9.6
|
2006-06-28 13:22:52 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://uthash.sf.net/
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2009-03-26 17:59:25 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2006-06-28 13:22:52 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=uthash/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
2009-03-26 17:59:25 -04:00
|
|
|
REGRESS_TARGET= run_tests
|
|
|
|
|
2006-06-28 13:22:52 -04:00
|
|
|
do-install:
|
2010-11-03 12:37:46 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/*.h ${PREFIX}/include
|
2006-06-28 13:22:52 -04:00
|
|
|
${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:
|
2009-03-26 17:59:25 -04:00
|
|
|
@cd ${WRKSRC}/tests/ && exec ${SETENV} ${MAKE_ENV} \
|
|
|
|
${MAKE_PROGRAM} ${REGRESS_FLAGS} -f ${MAKE_FILE} \
|
|
|
|
${REGRESS_TARGET}
|
2006-06-28 13:22:52 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|