aboutsummaryrefslogtreecommitdiff
path: root/graphics/libmng/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-07-17 14:21:36 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-07-17 14:21:36 +0000
commitd555a0e3350a02b9fd1185f9338d36a9a43ddd42 (patch)
treeda993219fdafcf0dbd400827a4a5849bca024b04 /graphics/libmng/Makefile
parente31267efa6ce25492d10096909f59fce1e839925 (diff)
downloadports-d555a0e3350a02b9fd1185f9338d36a9a43ddd42.tar.gz
ports-d555a0e3350a02b9fd1185f9338d36a9a43ddd42.zip
Notes
Diffstat (limited to 'graphics/libmng/Makefile')
-rw-r--r--graphics/libmng/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile
index 5296bdc17030..79d8c1c84ab4 100644
--- a/graphics/libmng/Makefile
+++ b/graphics/libmng/Makefile
@@ -26,9 +26,8 @@ MAN3= libmng.3
MAN5= mng.5 jng.5
post-patch:
-.if exists(${PREFIX}/include/lcms.h)
- ${PERL} -pi -e 's%lcms/lcms.h%lcms.h%' ${WRKSRC}/libmng_types.h
-.endif
+ test ! -e ${PREFIX}/include/lcms.h || ${PERL} -pi -e \
+ 's%lcms/lcms.h%lcms.h%' ${WRKSRC}/libmng_types.h
post-install:
cd ${WRKSRC}/doc/man && ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3 \