aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2004-08-14 21:53:23 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2004-08-14 21:53:23 +0000
commit4bc93d5a4851c23e5fb61e26456ee8f01e0bc809 (patch)
tree187395b27422795e338741710f707a85fadd4bb3 /devel
parentc60d8a305c3fe1e908373fa64e3ea857bb3dde9d (diff)
downloadports-4bc93d5a4851c23e5fb61e26456ee8f01e0bc809.tar.gz
ports-4bc93d5a4851c23e5fb61e26456ee8f01e0bc809.zip
USE_LIBTOOL_VER 13 -> 15
Bump PORTREVISION Don't create share/doc/$PORTNAME-$PORTVERSION add an extra file, and take care of libdata/pkgconfig
Notes
Notes: svn path=/head/; revision=116223
Diffstat (limited to 'devel')
-rw-r--r--devel/varconf/Makefile9
-rw-r--r--devel/varconf/pkg-plist3
2 files changed, 8 insertions, 4 deletions
diff --git a/devel/varconf/Makefile b/devel/varconf/Makefile
index 59f7cc361677..ba15ac93ac67 100644
--- a/devel/varconf/Makefile
+++ b/devel/varconf/Makefile
@@ -7,6 +7,7 @@
PORTNAME= varconf
PORTVERSION= 0.6.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.worldforge.org/pub/worldforge/libs/varconf/ \
http://purple.worldforge.org/wf/downloads/libs/varconf/
@@ -16,14 +17,16 @@ COMMENT= A Configuration System for the STAGE Server
LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12
-USE_LIBTOOL_VER= 13
+USE_LIBTOOL_VER= 15
USE_REINPLACE= YES
GNU_CONFIGURE= YES
INSTALLS_SHLIB= YES
post-patch:
- @${REINPLACE_CMD} -e 's|^doc_DATA = .*|#&|g' \
- -e 's|\(^pkgconfigdir =\) .*|\1 ${PREFIX}/libdata/pkgconfig|g' \
+ @${REINPLACE_CMD} -e 's|^doc_DATA = .*|#&|g ; \
+ s|\(^pkgconfigdir =\) .*|\1 ${PREFIX}/libdata/pkgconfig|g ; \
+ s|\$$(mkinstalldirs) \$$(DESTDIR)\$$(docdir)$$|| ; \
+ s|\$$(mkinstalldirs) \$$(DESTDIR)\$$(docdir) |\$$(mkinstalldirs)|g' \
${WRKSRC}/Makefile.in
post-install:
diff --git a/devel/varconf/pkg-plist b/devel/varconf/pkg-plist
index 9cd99e664060..738819815ff8 100644
--- a/devel/varconf/pkg-plist
+++ b/devel/varconf/pkg-plist
@@ -6,7 +6,7 @@ include/varconf-1.0/varconf/dynvar.h
include/varconf-1.0/varconf/parse_error.h
include/varconf-1.0/varconf/varconf.h
include/varconf-1.0/varconf/variable.h
-lib/libvarconf-1.0.la
+lib/libvarconf-1.0.a
lib/libvarconf-1.0.so
lib/libvarconf-1.0.so.2
libdata/pkgconfig/varconf-1.0.pc
@@ -18,3 +18,4 @@ libdata/pkgconfig/varconf-1.0.pc
@dirrm include/varconf-1.0/varconf
@dirrm include/varconf-1.0
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true