aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lxsplit
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-04-30 16:48:47 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-04-30 16:48:47 +0000
commit44dc845de8a70abeb0859a47099c477433de76e2 (patch)
tree60e5e677b5f46d8ff91c03f0198baa31349769b4 /sysutils/lxsplit
parent308a9046eeadaa9c7a68404e0eb900a1bc6687c9 (diff)
downloadports-44dc845de8a70abeb0859a47099c477433de76e2.tar.gz
ports-44dc845de8a70abeb0859a47099c477433de76e2.zip
Notes
Diffstat (limited to 'sysutils/lxsplit')
-rw-r--r--sysutils/lxsplit/Makefile11
-rw-r--r--sysutils/lxsplit/distinfo6
-rw-r--r--sysutils/lxsplit/files/patch-Makefile41
-rw-r--r--sysutils/lxsplit/pkg-descr5
4 files changed, 48 insertions, 15 deletions
diff --git a/sysutils/lxsplit/Makefile b/sysutils/lxsplit/Makefile
index 036b22e175bb..6ae3f253139e 100644
--- a/sysutils/lxsplit/Makefile
+++ b/sysutils/lxsplit/Makefile
@@ -6,11 +6,9 @@
#
PORTNAME= lxsplit
-PORTVERSION= 0.1.1
+PORTVERSION= 0.2.2
CATEGORIES= sysutils
-MASTER_SITES= http://www.freebyte.com/download/ \
- http://document-root.de/mirror/lxsplit/
-DISTNAME= lxsplit
+MASTER_SITES= SF
MAINTAINER= hideo@lastamericanempire.com
COMMENT= Simple program to split or join files
@@ -19,9 +17,6 @@ PLIST_FILES= bin/lxsplit
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/lxsplit ${PREFIX}/bin/
-
-post-install:
- ${STRIP_CMD} ${PREFIX}/bin/lxsplit
+ ${INSTALL_PROGRAM} ${WRKSRC}/lxsplit ${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/sysutils/lxsplit/distinfo b/sysutils/lxsplit/distinfo
index 870cd39a99e9..9bae5b24ceb6 100644
--- a/sysutils/lxsplit/distinfo
+++ b/sysutils/lxsplit/distinfo
@@ -1,3 +1,3 @@
-MD5 (lxsplit.tar.gz) = dd60962d82cf79d9ee0f139c81f6aefb
-SHA256 (lxsplit.tar.gz) = 8e0469da3256c163fe10b876674c86bf085b930b92ada18360c5aff90fc2ef12
-SIZE (lxsplit.tar.gz) = 4367
+MD5 (lxsplit-0.2.2.tar.gz) = f8de6f2d70b31eb473fbe2831844da77
+SHA256 (lxsplit-0.2.2.tar.gz) = 3efa6511b0d979f1bb7141f34ea1c0654a9d4259004c093c70760c1d2a5bc17e
+SIZE (lxsplit-0.2.2.tar.gz) = 14341
diff --git a/sysutils/lxsplit/files/patch-Makefile b/sysutils/lxsplit/files/patch-Makefile
new file mode 100644
index 000000000000..e19ee0c1b7c0
--- /dev/null
+++ b/sysutils/lxsplit/files/patch-Makefile
@@ -0,0 +1,41 @@
+--- Makefile.orig 2008-04-28 16:55:08.000000000 -0500
++++ Makefile 2008-04-28 16:56:07.000000000 -0500
+@@ -9,13 +9,10 @@
+ ####### Compiler, tools and options
+
+ CC ?= gcc
+-ifeq ($(CC),)
+-CC := gcc
+-endif
+ INCPATH := .
+-CFLAGS := -Wall -W -O2 -DNO_DEBUG
++CFLAGS += -Wall -W
+ LDLIBS :=
+-LDFLAGS :=
++LDFLAGS +=
+
+ # 64 bit file offsets even on 32 bit
+ # platforms (LFS, if supported by the
+@@ -24,13 +21,7 @@
+
+ INSTALL_PATH := /usr/local/bin
+
+-ifeq ($(USE_LARGEFILE),yes)
+-# these flags work for linux / glibc.
+-# change for others, if necessary.
+ FILESIZE_DEFS:= -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+-else
+-FILESIZE_DEFS:=
+-endif
+
+ ####### Files
+
+@@ -54,7 +45,7 @@
+ $(CC) $(LDFLAGS) -o $(BINARY) $(OBJECTS) $(LDLIBS)
+
+ uoff_t.h: mkuoff_t.c
+- $(CC) $(FILESIZE_DEFS) -o mkuoff_t mkuoff_t.c
++ $(CC) $(CFLAGS) $(FILESIZE_DEFS) -o mkuoff_t mkuoff_t.c
+ @echo "Generating uoff_t.h"
+ @./mkuoff_t
+
diff --git a/sysutils/lxsplit/pkg-descr b/sysutils/lxsplit/pkg-descr
index a67fdab48a94..95d2413c02c1 100644
--- a/sysutils/lxsplit/pkg-descr
+++ b/sysutils/lxsplit/pkg-descr
@@ -3,7 +3,4 @@ compression. It is fully compatible with HJSplit. HJSplit is a program
written by Freebyte!. See http://www.freebyte.com for more information
about HJSplit.
-WWW: http://remenic.2y.net/lxsplit/
-
-- Alex Kiesel
-kiesel@schlund.de
+WWW: http://lxsplit.sourceforge.net/