1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00

- Support staging

- Respect CFLAGS
- Don't build with debug symbols
- USES -> gmake
- Convert USE_BZIP2=yes to USES=tar:bzip2
This commit is contained in:
Emanuel Haupt 2014-03-14 12:57:47 +00:00
parent 30f208c29a
commit 360b89ee54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348220
5 changed files with 26 additions and 21 deletions

View File

@ -10,25 +10,15 @@ MASTER_SITES= ftp://ftp.penguin.cz/pub/users/mhi/vxfs/
MAINTAINER= mhi@penguin.cz
COMMENT= Command-line utilities for reading Veritas Filesystem (VxFS)
USE_BZIP2= yes
USES= tar:bzip2 gmake
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= vxmount.1 vxumount.1
MAN8= prtvtoc.8
NO_STAGE= yes
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/vxls ${PREFIX}/bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/vxmount ${PREFIX}/bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/vxumount ${PREFIX}/bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/vxcat ${PREFIX}/bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/vxidump ${PREFIX}/bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/vxcd ${PREFIX}/bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/vxpwd ${PREFIX}/bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/prtvtoc ${PREFIX}/bin
@ ${INSTALL_MAN} ${WRKSRC}/prtvtoc.8 ${PREFIX}/man/man8
@ ${INSTALL_MAN} ${WRKSRC}/vxmount.1 ${PREFIX}/man/man1
@ ${INSTALL_MAN} ${WRKSRC}/vxumount.1 ${PREFIX}/man/man1
.for f in vxls vxmount vxumount vxcat vxidump vxcd vxpwd prtvtoc
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/prtvtoc.8 ${STAGEDIR}${MANPREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/vxmount.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/vxumount.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1,12 @@
--- ./Makefile.in.orig 1999-12-02 18:52:25.000000000 +0100
+++ ./Makefile.in 2014-03-14 13:55:04.943662466 +0100
@@ -10,8 +10,7 @@
MAN8 = prtvtoc.8
CC = @CC@
-CFLAGS = -Wall -g -I.
-LDFLAGS = -g
+CFLAGS += -Wall -I.
all: $(BINS)

View File

@ -1,5 +1,5 @@
--- dir.c.orig 2007-11-16 03:10:42.000000000 +0600
+++ dir.c 2007-11-16 03:11:11.000000000 +0600
--- ./dir.c.orig 1999-12-02 17:57:40.000000000 +0100
+++ ./dir.c 2014-03-14 13:54:55.820662227 +0100
@@ -105,7 +105,7 @@
if (direct->ino)
filldir (dir, direct->name, direct->namelen, direct->ino);

View File

@ -1,5 +1,5 @@
--- olt.c.orig 2007-11-16 03:09:17.000000000 +0600
+++ olt.c 2007-11-16 03:12:11.000000000 +0600
--- ./olt.c.orig 1999-12-02 15:19:27.000000000 +0100
+++ ./olt.c 2014-03-14 13:54:55.821662410 +0100
@@ -85,7 +85,7 @@
case VXFS_OLTSB:
break;

View File

@ -6,3 +6,6 @@ bin/vxcd
bin/vxpwd
bin/vxidump
bin/vxcat
man/man1/vxmount.1.gz
man/man1/vxumount.1.gz
man/man8/prtvtoc.8.gz