diff --git a/news/atp/Makefile b/news/atp/Makefile index 1024a08025bd..41d98756cf41 100644 --- a/news/atp/Makefile +++ b/news/atp/Makefile @@ -1,24 +1,24 @@ PORTNAME= atp PORTVERSION= 1.50 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= news MASTER_SITES= SUNSITE/system/bbs/mail DISTFILES= ${DISTNAME}-src.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= QWK message packet reader and composer for FreeBSD RUN_DEPENDS= zip:archivers/zip USES= gmake perl5 USE_PERL5= run GNU_CONFIGURE= yes SUB_FILES= pkg-message post-patch: .for i in atphome bindir mandir ${REINPLACE_CMD} -e 's,$$($i),$$(DESTDIR)&,g' \ ${WRKSRC}/Makefile.in .endfor .include diff --git a/news/atp/files/patch-Makefile.in b/news/atp/files/patch-Makefile.in index 3130cce8a903..573569c72bcc 100644 --- a/news/atp/files/patch-Makefile.in +++ b/news/atp/files/patch-Makefile.in @@ -1,60 +1,64 @@ --- Makefile.in.orig 1997-01-03 13:00:00 UTC +++ Makefile.in -@@ -20,7 +20,7 @@ - mandir = $(prefix)/man +@@ -17,10 +17,10 @@ bindir = $(exec_prefix)/bin + prefix = @prefix@ + exec_prefix = $(prefix) + bindir = $(exec_prefix)/bin +-mandir = $(prefix)/man ++mandir = $(prefix)/share/man # path where your ATP data and configuration files will reside: -atphome = @ATPHOME@ +atphome = $(prefix)/share/atp # permissions and ownership bin_prm = 755 -@@ -78,7 +78,7 @@ +@@ -78,7 +78,7 @@ devel_targ = callmap check depend extract lint tags # phony targets (a.k.a "forced" targets) clean_targ = clean distclean clobber spotless mostlyclean unconvert devel_targ = callmap check depend extract lint tags -instl_targ = install uninstall in_cfg in_man in_wrap +instl_targ = install uninstall in_cfg in_man misc_targ = debug dvi info eline elinedb manifest .PHONY : $(clean_targ) $(devel_targ) $(instl_targ) $(misc_targ) -@@ -109,7 +109,7 @@ +@@ -109,7 +109,7 @@ utils/rot13: utils/rot13: cd utils ; $(MAKE) rot13 -install: in_bin in_man in_cfg in_wrap +install: in_bin in_man in_cfg in_cfg: @echo " " -@@ -133,23 +133,17 @@ +@@ -133,23 +133,17 @@ in_bin: atp utils/atpdiag utils/rot13 @echo " " @echo "Installing binaries . . ." @$(STRIP) atp ./utils/rot13 - $(INSTALL) -m $(bin_prm) -o $(bin_own) -g $(bin_grp) ./atp $(bindir)/atp - $(INSTALL) -m $(bin_prm) -o $(bin_own) -g $(bin_grp) ./utils/atpdiag $(bindir)/atpdiag - $(INSTALL) -m $(bin_prm) -o $(bin_own) -g $(bin_grp) ./utils/rot13 $(bindir)/rot13 -- ++ $(INSTALL) -m $(bin_prm) ./atp $(bindir)/atp ++ $(INSTALL) -m $(bin_prm) ./utils/atpdiag $(bindir)/atpdiag ++ $(INSTALL) -m $(bin_prm) ./utils/rot13 $(bindir)/rot13 + -in_wrap: - @echo " " - @echo "Now it's YOUR turn, please do this:" - @echo "Set and export the environment variable: ATP=$(atphome)" - @echo "Edit your $(atphome)/atprc and then read the docs!" -+ $(INSTALL) -m $(bin_prm) ./atp $(bindir)/atp -+ $(INSTALL) -m $(bin_prm) ./utils/atpdiag $(bindir)/atpdiag -+ $(INSTALL) -m $(bin_prm) ./utils/rot13 $(bindir)/rot13 - +- in_man: @echo " " @echo "Installing man pages . . ." - $(INSTALL) -m $(man_prm) -o $(man_own) -g $(man_grp) $(srcdir)/docs/atp.1 $(mandir)/man1 - $(INSTALL) -m $(man_prm) -o $(man_own) -g $(man_grp) $(srcdir)/docs/editline.3 $(mandir)/man3 - $(INSTALL) -m $(man_prm) -o $(man_own) -g $(man_grp) $(srcdir)/docs/atpdiag.1 $(mandir)/man1 - $(INSTALL) -m $(man_prm) -o $(man_own) -g $(man_grp) $(srcdir)/docs/rot13.1 $(mandir)/man1 + $(INSTALL) -m $(man_prm) $(srcdir)/docs/atp.1 $(mandir)/man1 + $(INSTALL) -m $(man_prm) $(srcdir)/docs/editline.3 $(mandir)/man3 + $(INSTALL) -m $(man_prm) $(srcdir)/docs/atpdiag.1 $(mandir)/man1 + $(INSTALL) -m $(man_prm) $(srcdir)/docs/rot13.1 $(mandir)/man1 uninstall: rm -f $(mandir)/man1/atp.1 $(mandir)/man1/atpdiag.1 $(mandir)/man1/rot13.1 diff --git a/news/atp/pkg-plist b/news/atp/pkg-plist index 3497afb5b025..e78ee0a8678f 100644 --- a/news/atp/pkg-plist +++ b/news/atp/pkg-plist @@ -1,9 +1,9 @@ bin/atp bin/atpdiag bin/rot13 %%DATADIR%%/atprc %%DATADIR%%/taglines.atp -man/man1/atp.1.gz -man/man1/atpdiag.1.gz -man/man1/rot13.1.gz -man/man3/editline.3.gz +share/man/man1/atp.1.gz +share/man/man1/atpdiag.1.gz +share/man/man1/rot13.1.gz +share/man/man3/editline.3.gz