1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Do not install usesess .la file

- Utilize NOPORTDOCS

PR:		37274
Submitted by:	Ports Fury
This commit is contained in:
Ying-Chieh Liao 2002-04-20 15:24:12 +00:00
parent 84a3949b3b
commit b6eff169bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57923
4 changed files with 34 additions and 2 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (Format-0.1.7.tar.gz) = 8dfafd6c94773b8d2eb2a0da853741a6
MD5 (Format-0.1.7.tar.gz) = 935bc16964348cf3e38ec2ea7610582e

View File

@ -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"

View File

@ -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