aboutsummaryrefslogtreecommitdiffstats
path: root/devel/varconf
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2004-08-15 05:53:23 +0800
committeroliver <oliver@FreeBSD.org>2004-08-15 05:53:23 +0800
commit24716008252782e9ec107d6e6dc38260de466535 (patch)
tree02e07ec9088ee451bfe78d0e2c4b9b9d20dcc07b /devel/varconf
parentdeb161f8ccee8ccff67bdbed90e864baecc4273b (diff)
downloadfreebsd-ports-gnome-24716008252782e9ec107d6e6dc38260de466535.tar.gz
freebsd-ports-gnome-24716008252782e9ec107d6e6dc38260de466535.tar.zst
freebsd-ports-gnome-24716008252782e9ec107d6e6dc38260de466535.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
Diffstat (limited to 'devel/varconf')
-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