diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-20 15:24:12 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-20 15:24:12 +0000 |
commit | b6eff169bb4ea4d328c816ec67e383f442860421 (patch) | |
tree | fc8563a8910f41c3917acc0f1cb374f99cc56ca8 /devel/libformat | |
parent | 84a3949b3b2811f8eeae78a727f408069fd5e50d (diff) | |
download | ports-b6eff169bb4ea4d328c816ec67e383f442860421.tar.gz ports-b6eff169bb4ea4d328c816ec67e383f442860421.zip |
Notes
Diffstat (limited to 'devel/libformat')
-rw-r--r-- | devel/libformat/Makefile | 13 | ||||
-rw-r--r-- | devel/libformat/distinfo | 2 | ||||
-rw-r--r-- | devel/libformat/files/patch-ltmain.sh | 15 | ||||
-rw-r--r-- | devel/libformat/pkg-plist | 6 |
4 files changed, 34 insertions, 2 deletions
diff --git a/devel/libformat/Makefile b/devel/libformat/Makefile index f2006ec4a7eb..ab5a6bc3ff35 100644 --- a/devel/libformat/Makefile +++ b/devel/libformat/Makefile @@ -8,6 +8,7 @@ PORTNAME= libformat PORTVERSION= 0.1.7 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://home.pages.at/kingleo/development/ DISTNAME= Format-${PORTVERSION} @@ -15,8 +16,20 @@ DISTNAME= Format-${PORTVERSION} MAINTAINER= ports@FreeBSD.org GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} INSTALLS_SHLIB= yes MAN3= Format.3 +post-patch: + @${PERL} -pi -e 's| install-data-local||g' ${WRKSRC}/doc/Makefile.in + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in doc/Format.html doc/Format.txt src/testMakefile src/testformat.cpp + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + .include <bsd.port.mk> diff --git a/devel/libformat/distinfo b/devel/libformat/distinfo index 49aac693725f..367ed4b2efe9 100644 --- a/devel/libformat/distinfo +++ b/devel/libformat/distinfo @@ -1 +1 @@ -MD5 (Format-0.1.7.tar.gz) = 8dfafd6c94773b8d2eb2a0da853741a6 +MD5 (Format-0.1.7.tar.gz) = 935bc16964348cf3e38ec2ea7610582e diff --git a/devel/libformat/files/patch-ltmain.sh b/devel/libformat/files/patch-ltmain.sh new file mode 100644 index 000000000000..41c7024cd341 --- /dev/null +++ b/devel/libformat/files/patch-ltmain.sh @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Thu Jan 10 04:26:41 2002 ++++ ltmain.sh Wed Apr 17 01:13:43 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/devel/libformat/pkg-plist b/devel/libformat/pkg-plist index c6f747d3f9ec..93e025416f5b 100644 --- a/devel/libformat/pkg-plist +++ b/devel/libformat/pkg-plist @@ -1,5 +1,9 @@ include/Format.hh lib/libFormat.a -lib/libFormat.la lib/libFormat.so lib/libFormat.so.0 +%%PORTDOCS%%share/doc/libformat/Format.html +%%PORTDOCS%%share/doc/libformat/Format.txt +%%PORTDOCS%%share/doc/libformat/testMakefile +%%PORTDOCS%%share/doc/libformat/testformat.cpp +%%PORTDOCS%%@dirrm share/doc/libformat |