aboutsummaryrefslogtreecommitdiff
path: root/graphics/OpenEXR/Makefile
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2007-10-07 23:28:24 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2007-10-07 23:28:24 +0000
commita92f58396bef6b45608023e7e1bdf3f09c92ebd5 (patch)
tree6bea7b32b4ea6871942978674a9f8fdda5c19041 /graphics/OpenEXR/Makefile
parent4586eaa3cbd21ae86dbf506d3af4e123640707d5 (diff)
downloadports-a92f58396bef6b45608023e7e1bdf3f09c92ebd5.tar.gz
ports-a92f58396bef6b45608023e7e1bdf3f09c92ebd5.zip
Notes
Diffstat (limited to 'graphics/OpenEXR/Makefile')
-rw-r--r--graphics/OpenEXR/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile
index 31bfe16c6dfd..50192885d63e 100644
--- a/graphics/OpenEXR/Makefile
+++ b/graphics/OpenEXR/Makefile
@@ -26,6 +26,13 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--enable-imfexamples
-WRKSRC= ${WRKDIR}/${PORTNAME:L}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+test check: build
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
+
+.if defined(PACKAGE_BUILDING)
+pre-install: test
+.endif
.include <bsd.port.mk>