aboutsummaryrefslogtreecommitdiff
path: root/misc/xdelta
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-29 03:47:54 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-29 03:47:54 +0000
commit34e350e7eae44e996e6513b1ba486e965545e8ac (patch)
tree4e3062a8468934aaf1fb17e2a67827d1eed7005d /misc/xdelta
parent51ec9126d42f3b55fa2dce2d3ade3b29a7dc4f31 (diff)
downloadports-34e350e7eae44e996e6513b1ba486e965545e8ac.tar.gz
ports-34e350e7eae44e996e6513b1ba486e965545e8ac.zip
Notes
Diffstat (limited to 'misc/xdelta')
-rw-r--r--misc/xdelta/Makefile17
-rw-r--r--misc/xdelta/pkg-plist3
2 files changed, 7 insertions, 13 deletions
diff --git a/misc/xdelta/Makefile b/misc/xdelta/Makefile
index c85b7d0b6bc3..27d04cc55656 100644
--- a/misc/xdelta/Makefile
+++ b/misc/xdelta/Makefile
@@ -3,7 +3,7 @@
# Date created: Sun May 4 21:40:06 CDT 1997
# Whom: jmacd
#
-# $Id: Makefile,v 1.12 1999/02/20 10:47:28 vanilla Exp $
+# $Id: Makefile,v 1.13 1999/05/02 18:48:03 mharo Exp $
#
DISTNAME= xdelta-1.0.2
@@ -13,20 +13,15 @@ MASTER_SITES= ftp://ftp.xcf.berkeley.edu/pub/xdelta/
MAINTAINER= jmacd@FreeBSD.ORG
BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
-LIB_DEPENDS= glib12.1:${PORTSDIR}/devel/glib12
+LIB_DEPENDS= glib12.2:${PORTSDIR}/devel/glib12
-GNU_CONFIGURE= yes
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+
+USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS=-L${LOCALBASE}/lib \
- INSTALL_SCRIPT='$${INSTALL} -m 755' \
- GLIB_CONFIG="${LOCALBASE}/bin/glib12-config"
+ GLIB_CONFIG="${GLIB_CONFIG}"
MAN1= xdelta.1
-post-install:
- @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
- @if [ ! -f ${PREFIX}/info/dir ]; then \
- ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
- fi
-
.include <bsd.port.mk>
diff --git a/misc/xdelta/pkg-plist b/misc/xdelta/pkg-plist
index 729602fa2542..76aedcac5fdc 100644
--- a/misc/xdelta/pkg-plist
+++ b/misc/xdelta/pkg-plist
@@ -5,12 +5,11 @@ include/xdelta.h
include/xdser.h
@unexec install-info --delete %D/info/xdelta.info %D/info/dir
info/xdelta.info
-@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/xdelta.info %D/info/dir
lib/libxdelta.a
-lib/libxdelta.la
lib/libxdelta.so
lib/libxdelta.so.1
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
share/aclocal/xdelta.m4
+@unexec rmdir %D/share/aclocal 2>/dev/null || true