aboutsummaryrefslogtreecommitdiff
path: root/graphics/libmng/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-07-16 21:23:11 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-07-16 21:23:11 +0000
commitce250f732d439a19d9658cf857fa2ebfcdd9c77e (patch)
tree3dbfaeeb44b374363dbe9fcd53fd978b523b162f /graphics/libmng/Makefile
parent465b045b729e72257dab8028b71f19b683dbf041 (diff)
downloadports-ce250f732d439a19d9658cf857fa2ebfcdd9c77e.tar.gz
ports-ce250f732d439a19d9658cf857fa2ebfcdd9c77e.zip
Notes
Diffstat (limited to 'graphics/libmng/Makefile')
-rw-r--r--graphics/libmng/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile
index 4eac92cd947f..5296bdc17030 100644
--- a/graphics/libmng/Makefile
+++ b/graphics/libmng/Makefile
@@ -6,11 +6,9 @@
#
PORTNAME= libmng
-PORTVERSION= 1.0.0
-PORTREVISION= 3
+PORTVERSION= 1.0.2
CATEGORIES= graphics
-MASTER_SITES= http://www.3-t.com/libmng/download/ \
- ${MASTER_SITE_SOURCEFORGE} \
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.libmng.com/download/
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -28,8 +26,9 @@ MAN3= libmng.3
MAN5= mng.5 jng.5
post-patch:
- test ! -e ${PREFIX}/include/lcms.h || ${PERL} -pi -e \
- 's%lcms/lcms.h%lcms.h%' ${WRKSRC}/libmng_types.h
+.if exists(${PREFIX}/include/lcms.h)
+ ${PERL} -pi -e 's%lcms/lcms.h%lcms.h%' ${WRKSRC}/libmng_types.h
+.endif
post-install:
cd ${WRKSRC}/doc/man && ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3 \