diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-03-31 03:14:54 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-03-31 03:14:54 +0000 |
commit | c58f52df892565e0885571e8b1e847d622540ea1 (patch) | |
tree | 27eda9e89308917c3ca179ad64633b86bd4846bc | |
parent | Remove #include <malloc.h> (diff) |
- Add BUILD_DEPENDS/RUN_DEPENDS to devel/pkgconfig
- Support CFLAGS properly
- Fix pkg-plist
- Do not install useless .la file
PR: 36551
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=57007
-rw-r--r-- | graphics/libexif/Makefile | 17 | ||||
-rw-r--r-- | graphics/libexif/files/patch-ltmain.sh | 15 | ||||
-rw-r--r-- | graphics/libexif/pkg-plist | 8 |
3 files changed, 31 insertions, 9 deletions
diff --git a/graphics/libexif/Makefile b/graphics/libexif/Makefile index adfa80d99604..faf78256dcc9 100644 --- a/graphics/libexif/Makefile +++ b/graphics/libexif/Makefile @@ -7,15 +7,22 @@ PORTNAME= libexif PORTVERSION= 0.5.0 -PORTREVISION= +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR=libexif +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= pschmied@qwest.net -INSTALLS_SHLIB= yes -HAS_CONFIGURE= yes -CONFIGURE_ARGS= # Intentionally blank +BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig +RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig + +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes + +post-patch: + @${PERL} -pi -e 's|-g -Wall||g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \ + 's|\$$\(libdir\)/pkgconfig|\$$\(prefix\)/libdata/pkgconfig|g' .include <bsd.port.mk> diff --git a/graphics/libexif/files/patch-ltmain.sh b/graphics/libexif/files/patch-ltmain.sh new file mode 100644 index 000000000000..e1ab2f328470 --- /dev/null +++ b/graphics/libexif/files/patch-ltmain.sh @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Thu Jan 10 04:26:41 2002 ++++ ltmain.sh Sun Mar 31 04:02:01 2002 +@@ -4247,10 +4247,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/graphics/libexif/pkg-plist b/graphics/libexif/pkg-plist index 02c1f0cae266..035bc84a5ce1 100644 --- a/graphics/libexif/pkg-plist +++ b/graphics/libexif/pkg-plist @@ -1,7 +1,3 @@ -lib/libexif.so.5 -lib/libexif.so -lib/libexif.la -lib/libexif.a include/libexif/exif-byte-order.h include/libexif/exif-content.h include/libexif/exif-data.h @@ -10,4 +6,8 @@ include/libexif/exif-format.h include/libexif/exif-result.h include/libexif/exif-tag.h include/libexif/exif-utils.h +lib/libexif.a +lib/libexif.so +lib/libexif.so.5 +libdata/pkgconfig/libexif.pc @dirrm include/libexif |