mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Update to 0.8.39
- install shlibs and preserve config file
This commit is contained in:
parent
6be5377970
commit
ad7c0170df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126743
@ -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)
|
||||
|
@ -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
|
||||
|
22
archivers/dact/files/patch-Makefile
Normal file
22
archivers/dact/files/patch-Makefile
Normal file
@ -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
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user