aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lxsplit
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2008-11-17 05:33:06 +0800
committerlwhsu <lwhsu@FreeBSD.org>2008-11-17 05:33:06 +0800
commit466643bad3e1841799f7d162ee1b2cd4cfb6b74a (patch)
treeaec22650fa715efd513b4a2b3dfd5facaf9b5f1a /sysutils/lxsplit
parent0ef86d78dc52876409e983358f9a0451a7939901 (diff)
downloadfreebsd-ports-gnome-466643bad3e1841799f7d162ee1b2cd4cfb6b74a.tar.gz
freebsd-ports-gnome-466643bad3e1841799f7d162ee1b2cd4cfb6b74a.tar.zst
freebsd-ports-gnome-466643bad3e1841799f7d162ee1b2cd4cfb6b74a.zip
- Update to 0.2.4
PR: ports/128920 Submitted by: Yi-Jheng Lin <yzlin AT cs.nctu.edu.tw> Approved by: hideo <hideo AT lastamericanempire.com> (maintainer)
Diffstat (limited to 'sysutils/lxsplit')
-rw-r--r--sysutils/lxsplit/Makefile8
-rw-r--r--sysutils/lxsplit/distinfo6
-rw-r--r--sysutils/lxsplit/files/patch-Makefile27
3 files changed, 19 insertions, 22 deletions
diff --git a/sysutils/lxsplit/Makefile b/sysutils/lxsplit/Makefile
index 6ae3f253139e..80449991830f 100644
--- a/sysutils/lxsplit/Makefile
+++ b/sysutils/lxsplit/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lxsplit
-PORTVERSION= 0.2.2
+PORTVERSION= 0.2.4
CATEGORIES= sysutils
MASTER_SITES= SF
@@ -14,9 +14,13 @@ MAINTAINER= hideo@lastamericanempire.com
COMMENT= Simple program to split or join files
PLIST_FILES= bin/lxsplit
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+PORTDOCS= COPYING ChangeLog README
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lxsplit ${PREFIX}/bin/
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/sysutils/lxsplit/distinfo b/sysutils/lxsplit/distinfo
index 9bae5b24ceb6..f3c042dbb006 100644
--- a/sysutils/lxsplit/distinfo
+++ b/sysutils/lxsplit/distinfo
@@ -1,3 +1,3 @@
-MD5 (lxsplit-0.2.2.tar.gz) = f8de6f2d70b31eb473fbe2831844da77
-SHA256 (lxsplit-0.2.2.tar.gz) = 3efa6511b0d979f1bb7141f34ea1c0654a9d4259004c093c70760c1d2a5bc17e
-SIZE (lxsplit-0.2.2.tar.gz) = 14341
+MD5 (lxsplit-0.2.4.tar.gz) = ed21a08c167c08d4d81c820782947cb1
+SHA256 (lxsplit-0.2.4.tar.gz) = 858fa939803b2eba97ccc5ec57011c4f4b613ff299abbdc51e2f921016845056
+SIZE (lxsplit-0.2.4.tar.gz) = 14663
diff --git a/sysutils/lxsplit/files/patch-Makefile b/sysutils/lxsplit/files/patch-Makefile
index e19ee0c1b7c0..8a6d0e840547 100644
--- a/sysutils/lxsplit/files/patch-Makefile
+++ b/sysutils/lxsplit/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2008-04-28 16:55:08.000000000 -0500
-+++ Makefile 2008-04-28 16:56:07.000000000 -0500
-@@ -9,13 +9,10 @@
+--- Makefile.orig 2008-05-31 16:03:10.000000000 +0800
++++ Makefile 2008-11-17 02:23:39.000000000 +0800
+@@ -9,29 +9,14 @@
####### Compiler, tools and options
CC ?= gcc
@@ -8,16 +8,18 @@
-CC := gcc
-endif
INCPATH := .
--CFLAGS := -Wall -W -O2 -DNO_DEBUG
+-CFLAGS ?= -O2
+-CFLAGS := $(CFLAGS) -Wall -W -DNO_DEBUG
+CFLAGS += -Wall -W
LDLIBS :=
-LDFLAGS :=
+-
+-# 64 bit file offsets even on 32 bit
+-# platforms (LFS, if supported by the
+-# operating system): yes or no.
+-USE_LARGEFILE:= yes
+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)
@@ -30,12 +32,3 @@
####### 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
-