aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dvdtape
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-05-12 15:59:40 +0800
committerijliao <ijliao@FreeBSD.org>2003-05-12 15:59:40 +0800
commit2741c0104a5063478d75782915819adc04aab073 (patch)
treef0bb408a6191f49d27575284fbd0c20d9826a043 /sysutils/dvdtape
parent4d8208f0f8adfe274cd05ac0559db2a6f18095c6 (diff)
downloadfreebsd-ports-graphics-2741c0104a5063478d75782915819adc04aab073.tar.gz
freebsd-ports-graphics-2741c0104a5063478d75782915819adc04aab073.tar.zst
freebsd-ports-graphics-2741c0104a5063478d75782915819adc04aab073.zip
- Utilize USE_GETOPT_LONG
- Support install macros PR: 51871 Submitted by: Ports Fury
Diffstat (limited to 'sysutils/dvdtape')
-rw-r--r--sysutils/dvdtape/Makefile3
-rw-r--r--sysutils/dvdtape/files/patch-aa32
2 files changed, 19 insertions, 16 deletions
diff --git a/sysutils/dvdtape/Makefile b/sysutils/dvdtape/Makefile
index ac811922ef0..5fe67ad7290 100644
--- a/sysutils/dvdtape/Makefile
+++ b/sysutils/dvdtape/Makefile
@@ -17,7 +17,8 @@ MASTER_SITE_SUBDIR= utils/disk-management
MAINTAINER= ports@FreeBSD.org
COMMENT= Create DVD master filesystems on DLT media
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+USE_GETOPT_LONG= yes
+MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= dvdtape.1
diff --git a/sysutils/dvdtape/files/patch-aa b/sysutils/dvdtape/files/patch-aa
index a6375863857..d13d18790e6 100644
--- a/sysutils/dvdtape/files/patch-aa
+++ b/sysutils/dvdtape/files/patch-aa
@@ -1,26 +1,28 @@
---- Makefile.orig Wed Nov 10 00:01:10 1999
-+++ Makefile Sun Jun 10 18:30:24 2001
-@@ -1,8 +1,10 @@
+--- Makefile.orig Wed Nov 10 09:01:10 1999
++++ Makefile Tue May 6 13:01:15 2003
+@@ -1,8 +1,9 @@
-prefix=/usr
--BINDIR=${prefix}/bin
--MANDIR=${prefix}/man
--
++prefix=${PREFIX}
+ BINDIR=${prefix}/bin
+ MANDIR=${prefix}/man
+
-CFLAGS=-O2 -D_FILE_OFFSET_BITS=64 -Wall
-+BINDIR= ${PREFIX}/bin
-+MANDIR= ${PREFIX}/man
-+CC ?=gcc
-+CFLAGS+= -D_FILE_OFFSET_BITS=64 -I${LOCALBASE}/include
-+LD =${CC}
-+LDFLAGS=-L${LOCALBASE}/lib
-+LIBS= -lgnugetopt
++CFLAGS+=${CPPFLAGS}
++LD=${CC}
PROGRAM=dvdtape
OBJECTS=dvdtape.o isosize.o
-@@ -10,6 +12,7 @@
+@@ -10,10 +11,11 @@
all: $(PROGRAM)
$(PROGRAM): $(OBJECTS)
+ $(LD) $(LDFLAGS) -o ${PROGRAM} $(OBJECTS) $(LIBS)
install: all
- install $(PROGRAM) $(BINDIR)
+- install $(PROGRAM) $(BINDIR)
+- install $(PROGRAM).1 $(MANDIR)/man1/
++ ${BSD_INSTALL_PROGRAM} $(PROGRAM) $(BINDIR)
++ ${BSD_INSTALL_MAN} $(PROGRAM).1 $(MANDIR)/man1/
+
+ clean:
+ -rm -f $(PROGRAM) *.o *~