- Provide working MASTER_SITES while the original website went down

- Install files with our native install(1) instead of handrolled one,
  this fixes "Warning: 'bin/yadex' is not stripped" reported by Q/A
This commit is contained in:
Alexey Dokuchaev 2019-11-07 09:31:01 +00:00
parent 966736f2f6
commit 954b38eec9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516952
2 changed files with 6 additions and 7 deletions

View file

@ -5,14 +5,13 @@ PORTNAME= yadex
PORTVERSION= 1.7.0
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://www.teaser.fr/~amajorel/yadex/
MASTER_SITES= http://vault.101011010.xyz/distfiles/yadex/ \
http://freebsd.nsu.ru/distfiles/yadex/ GENTOO
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= danfe@FreeBSD.org
COMMENT= WAD file editor, for games like Doom and Heretic
BROKEN= unfetchable
LICENSE= GPLv2
USES= gmake perl5 shebangfix xorg

View file

@ -50,11 +50,11 @@
+ @scripts/mkinstalldirs $(DESTDIR)$(MANDIR)/man6
+ @scripts/mkinstalldirs $(DESTDIR)$(SHAREDIR)
+ rm -f $(DESTDIR)$(BINDIR)/yadex
+ $(OBJDIR)/install -m 755 $(OBJDIR)/yadex $(DESTDIR)$(BINDIR)/yadex
+ $(BSD_INSTALL_PROGRAM) $(OBJDIR)/yadex $(DESTDIR)$(BINDIR)
+ rm -f $(DESTDIR)$(MANDIR)/man6/yadex.6*
+ $(OBJDIR)/install -m 644 doc/yadex.6 $(DESTDIR)$(MANDIR)/man6/yadex.6
+ $(OBJDIR)/install -m 644 -d $(DESTDIR)$(SHAREDIR) $(YGD)
+ $(OBJDIR)/install -m 644 -d $(DESTDIR)$(ETCDIR) yadex.cfg
+ $(BSD_INSTALL_MAN) doc/yadex.6 $(DESTDIR)$(MANDIR)/man6
+ $(BSD_INSTALL_DATA) $(YGD) $(DESTDIR)$(SHAREDIR)
+ $(BSD_INSTALL_DATA) yadex.cfg $(DESTDIR)$(ETCDIR)
+ifndef DESTDIR
@echo "---------------------------------------------------------------"
@echo " Yadex is now installed."