diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-13 19:48:14 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-13 19:48:14 +0800 |
commit | 3441394bfbb2d387981451eedbb0f2959a748691 (patch) | |
tree | 1bb8e2b750d25a206a880e489320fe63558b0220 /archivers | |
parent | 9a1abc4cbb96f1f82ba6f71df48ea8d5ac80f53c (diff) | |
download | freebsd-ports-gnome-3441394bfbb2d387981451eedbb0f2959a748691.tar.gz freebsd-ports-gnome-3441394bfbb2d387981451eedbb0f2959a748691.tar.zst freebsd-ports-gnome-3441394bfbb2d387981451eedbb0f2959a748691.zip |
Support staging
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/freeze/Makefile | 13 | ||||
-rw-r--r-- | archivers/freeze/files/patch-Makefile.in | 15 | ||||
-rw-r--r-- | archivers/freeze/files/patch-freeze.c | 4 | ||||
-rw-r--r-- | archivers/freeze/files/patch-freeze.h | 4 | ||||
-rw-r--r-- | archivers/freeze/pkg-plist | 10 |
5 files changed, 33 insertions, 13 deletions
diff --git a/archivers/freeze/Makefile b/archivers/freeze/Makefile index e8cd0329d616..9b56ce202521 100644 --- a/archivers/freeze/Makefile +++ b/archivers/freeze/Makefile @@ -12,22 +12,17 @@ MASTER_SITES= ftp://ftp.warwick.ac.uk/pub/compression/ \ MAINTAINER= gabor@FreeBSD.org COMMENT= Compression program - often used in QNX -NO_STAGE= yes GNU_CONFIGURE= yes ALL_TARGET= prog + MAKE_ARGS+= CFLAGS="${CFLAGS} -I. -DCOMPAT" CC="${CC}" -MAN1= freeze.1 melt.1 unfreeze.1 fcat.1 statist.1 -PLIST_FILES= bin/fcat bin/freeze bin/melt bin/statist bin/unfreeze + PORTDOCS= README OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/archivers/freeze/files/patch-Makefile.in b/archivers/freeze/files/patch-Makefile.in new file mode 100644 index 000000000000..cb1a903c5805 --- /dev/null +++ b/archivers/freeze/files/patch-Makefile.in @@ -0,0 +1,15 @@ +--- ./Makefile.in.orig 1993-02-24 14:36:56.000000000 +0100 ++++ ./Makefile.in 2014-02-13 12:44:47.785972991 +0100 +@@ -18,9 +18,9 @@ + default: prog + + # Added the prefix macro, so that it was easier to change installation place. +-prefix = /usr/local +-DEST = $(prefix)/bin +-MANDEST = $(prefix)/man/man1 ++prefix ?= $(PREFIX) ++DEST = $(DESTDIR)$(prefix)/bin ++MANDEST = $(DESTDIR)$(prefix)/man/man1 + SEC = 1 + + HDRS = bitio.h\ diff --git a/archivers/freeze/files/patch-freeze.c b/archivers/freeze/files/patch-freeze.c index a82802e2a64c..e11bfc56fc92 100644 --- a/archivers/freeze/files/patch-freeze.c +++ b/archivers/freeze/files/patch-freeze.c @@ -1,5 +1,5 @@ ---- freeze.c.orig Thu Aug 30 14:45:31 2001 -+++ freeze.c Thu Aug 30 14:45:37 2001 +--- ./freeze.c.orig 1993-02-24 14:36:55.000000000 +0100 ++++ ./freeze.c 2014-02-13 12:43:34.946976981 +0100 @@ -176,7 +176,7 @@ /* From compress.c. Replace .Z --> .F etc */ diff --git a/archivers/freeze/files/patch-freeze.h b/archivers/freeze/files/patch-freeze.h index 06f7d0a714b8..10f052a8ab53 100644 --- a/archivers/freeze/files/patch-freeze.h +++ b/archivers/freeze/files/patch-freeze.h @@ -1,5 +1,5 @@ ---- freeze.h.orig Thu Aug 30 14:40:37 2001 -+++ freeze.h Thu Aug 30 14:40:54 2001 +--- ./freeze.h.orig 1993-02-24 14:36:58.000000000 +0100 ++++ ./freeze.h 2014-02-13 12:43:34.947977110 +0100 @@ -5,21 +5,6 @@ # include <sys/stdtypes.h> #endif diff --git a/archivers/freeze/pkg-plist b/archivers/freeze/pkg-plist new file mode 100644 index 000000000000..600122dfad5e --- /dev/null +++ b/archivers/freeze/pkg-plist @@ -0,0 +1,10 @@ +bin/fcat +bin/freeze +bin/melt +bin/statist +bin/unfreeze +man/man1/fcat.1.gz +man/man1/freeze.1.gz +man/man1/melt.1.gz +man/man1/statist.1.gz +man/man1/unfreeze.1.gz |