aboutsummaryrefslogtreecommitdiff
path: root/archivers/dact
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-01-18 21:04:22 +0000
committerClement Laforet <clement@FreeBSD.org>2005-01-18 21:04:22 +0000
commitad7c0170df41f1cd85c06145063245a365ddc927 (patch)
treefd6658c2b35a8abf815515f7ee105b7c06b7cd86 /archivers/dact
parent6be5377970390dc0272f6f73d65fb0aef614d4b7 (diff)
downloadports-ad7c0170df41f1cd85c06145063245a365ddc927.tar.gz
ports-ad7c0170df41f1cd85c06145063245a365ddc927.zip
Notes
Diffstat (limited to 'archivers/dact')
-rw-r--r--archivers/dact/Makefile9
-rw-r--r--archivers/dact/distinfo4
-rw-r--r--archivers/dact/files/patch-Makefile22
-rw-r--r--archivers/dact/pkg-plist8
4 files changed, 36 insertions, 7 deletions
diff --git a/archivers/dact/Makefile b/archivers/dact/Makefile
index 13e074451976..a4952a819095 100644
--- a/archivers/dact/Makefile
+++ b/archivers/dact/Makefile
@@ -7,10 +7,9 @@
#
PORTNAME= dact
-PORTVERSION= 0.8.35
-PORTREVISION= 1
+PORTVERSION= 0.8.39
CATEGORIES= archivers
-MASTER_SITES= http://www.rkeene.org/files/oss/dact/
+MASTER_SITES= http://www.rkeene.org/files/oss/dact/release/
MAINTAINER= ports@FreeBSD.org
COMMENT= Dynamic Adaptive Compression Tool
@@ -24,11 +23,13 @@ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
USE_GETOPT_LONG= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
+ --libdir=${PREFIX}/lib
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= dact.1
+INSTALLS_SHLIB= yes
post-install:
.if !defined(NOPORTDOCS)
diff --git a/archivers/dact/distinfo b/archivers/dact/distinfo
index 505eaba61fc4..4d81f8099c7d 100644
--- a/archivers/dact/distinfo
+++ b/archivers/dact/distinfo
@@ -1,2 +1,2 @@
-MD5 (dact-0.8.35.tar.gz) = 5d06ca225df94725ad07e2b98f0618bc
-SIZE (dact-0.8.35.tar.gz) = 111444
+MD5 (dact-0.8.39.tar.gz) = e99e881c65b101b03e5fb02445d8fb50
+SIZE (dact-0.8.39.tar.gz) = 125448
diff --git a/archivers/dact/files/patch-Makefile b/archivers/dact/files/patch-Makefile
new file mode 100644
index 000000000000..affd1f0ef0c6
--- /dev/null
+++ b/archivers/dact/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.in.orig Tue Jan 18 21:48:30 2005
++++ Makefile.in Tue Jan 18 21:54:30 2005
+@@ -25,6 +25,7 @@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+ libdir = @libdir@
++exampledir= @prefix@/share/examples/dact
+
+ CONF = $(sysconfdir)/dact.conf
+ CFLAGS += -DDACT_CONFIG_FILE=\"$(CONF)\" -DEXEEXT=\"$(EXEEXT)\"
+@@ -87,7 +88,10 @@
+ $(INSTALL) -m 755 dact$(EXEEXT) $(bindir)/dact$(EXEEXT)
+
+ install: all install-bin
+- $(INSTALL) -m 644 dact.conf $(CONF)
++ mkdir -p $(exampledir)
++ $(INSTALL) -m 644 dact.conf $(exampledir)
++ if [ ! -f $(CONF) ] ; then \
++ $(INSTALL) -m 644 $(exampledir)/dact.conf $(CONF) ; fi
+ $(INSTALL) -m 644 Docs/dact.1 $(mandir)/man1/dact.1
+ @MODS@ -$(INSTALL) -m 755 libdact.so $(libdir)/libdact.so
+ -$(INSTALL) -m 644 libdact.a $(libdir)/libdact.a
diff --git a/archivers/dact/pkg-plist b/archivers/dact/pkg-plist
index e8b3bb0d6ba8..643c3921d92a 100644
--- a/archivers/dact/pkg-plist
+++ b/archivers/dact/pkg-plist
@@ -1,5 +1,9 @@
bin/dact
-etc/dact.conf
+@unexec if cmp -s %D/etc/dact.conf %D/%%EXAMPLESDIR%%/dact.conf; then rm -f %D/etc/dact.conf; fi
+%%EXAMPLESDIR%%/dact.conf
+@exec [ -f %D/etc/dact.conf ] || cp %D/%%EXAMPLESDIR%%/dact.conf %D/etc/dact.conf
+lib/libdact.a
+lib/libdact.so
%%DATADIR%%/cipher_chaos.so
%%DATADIR%%/cipher_psub.so
%%DATADIR%%/cipher_serpent.so
@@ -15,7 +19,9 @@ etc/dact.conf
%%DATADIR%%/comp_snibble.so
%%DATADIR%%/comp_text.so
%%DATADIR%%/comp_zlib.so
+%%DATADIR%%/libdact.so
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/dact.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%
+@dirrm %%EXAMPLESDIR%%