- 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)
This commit is contained in:
Li-Wen Hsu 2008-11-16 21:33:06 +00:00
parent 1c25df7283
commit 06c81f1cce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222940
3 changed files with 19 additions and 22 deletions

View file

@ -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>

View file

@ -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

View file

@ -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