- Update to 0.2.2.

- Remove manual strip in post-install, because the INSTALL_PROGRAM will strip
  it by default. That way it will respecting my configure for I can install
  non-strip as 100% of my installed ports have been compiled with debug
  symbols.
- Update the WWW.

Approved by:	hideo <hideo@lastamericanempire.com> (maintainer)
This commit is contained in:
Jeremy Messenger 2008-04-30 16:48:47 +00:00
parent 308a9046ee
commit 44dc845de8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=212373
4 changed files with 48 additions and 15 deletions

View File

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

View File

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

View File

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

View File

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