summaryrefslogtreecommitdiff
path: root/graphics
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
parentUpdate to 1.0.6. (diff)
Upgrade to 1.0.2
PR: ports/29017 Submitted by: KATO Tsuguru (thanks for the patch)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libmng/Makefile11
-rw-r--r--graphics/libmng/distinfo2
-rw-r--r--graphics/libmng/files/Makefile.bsd2
3 files changed, 7 insertions, 8 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 \
diff --git a/graphics/libmng/distinfo b/graphics/libmng/distinfo
index 9fa258544b07..fee4918b183c 100644
--- a/graphics/libmng/distinfo
+++ b/graphics/libmng/distinfo
@@ -1 +1 @@
-MD5 (libmng-1.0.0.tar.gz) = 54c9cb5bf9aa5f76dfa4d63cddea539a
+MD5 (libmng-1.0.2.tar.gz) = dbe9dde9698ec7f94fd06f94a51f77b0
diff --git a/graphics/libmng/files/Makefile.bsd b/graphics/libmng/files/Makefile.bsd
index c4e687142635..8ae5c6c6bd69 100644
--- a/graphics/libmng/files/Makefile.bsd
+++ b/graphics/libmng/files/Makefile.bsd
@@ -5,7 +5,7 @@ NOPROFILE= yes
SHLIB_MAJOR?= 1
SHLIB_MINOR?= 0
-LOBJS!= make -f ${.CURDIR}/Makefile.in -V libmng_la_OBJECTS
+LOBJS!= ${MAKE} -f ${.CURDIR}/Makefile.in -V libmng_la_OBJECTS
SRCS= ${LOBJS:.lo=.c}
CFLAGS+= -I${INCDIR} -DMNG_FULL_CMS