mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Stagify
Add a DOCS option
This commit is contained in:
parent
776b0ce461
commit
d5e14b4c51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329282
@ -9,7 +9,9 @@ MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
|
||||
EXTRACT_SUFX= -source.tar.bz2
|
||||
|
||||
MAINTAINER= office@FreeBSD.org
|
||||
COMMENT= A free UNIX software/file packaging program
|
||||
COMMENT= Free UNIX software/file packaging program
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
@ -18,13 +20,4 @@ USE_BZIP2= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= autoconf
|
||||
|
||||
MAN1= epm.1 epminstall.1 mkepmlist.1 setup.1
|
||||
MAN5= epm.list.5 setup.types.5
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
.if defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
87
devel/epm/files/patch-Makefile.in
Normal file
87
devel/epm/files/patch-Makefile.in
Normal file
@ -0,0 +1,87 @@
|
||||
--- ./Makefile.in.orig 2010-12-29 18:32:40.000000000 +0100
|
||||
+++ ./Makefile.in 2013-10-04 12:12:25.004564898 +0200
|
||||
@@ -169,48 +169,48 @@
|
||||
|
||||
install: all @INSTALL_GUIS@ @INSTALL_OSX@
|
||||
echo Installing EPM programs in $(bindir)
|
||||
- -$(MKDIR) $(bindir)
|
||||
- $(RM) $(bindir)/epm
|
||||
- $(CP) epm $(bindir)
|
||||
- $(STRIP) $(bindir)/epm
|
||||
- $(RM) $(bindir)/epminstall
|
||||
- $(CP) epminstall $(bindir)
|
||||
- $(STRIP) $(bindir)/epminstall
|
||||
- $(RM) $(bindir)/mkepmlist
|
||||
- $(CP) mkepmlist $(bindir)
|
||||
+ -$(MKDIR) $(DESTDIR)$(bindir)
|
||||
+ $(RM) $(DESTDIR)$(bindir)/epm
|
||||
+ $(CP) epm $(DESTDIR)$(bindir)
|
||||
+ $(STRIP) $(DESTDIR)$(bindir)/epm
|
||||
+ $(RM) $(DESTDIR)$(bindir)/epminstall
|
||||
+ $(CP) epminstall $(DESTDIR)$(bindir)
|
||||
+ $(STRIP) $(DESTDIR)$(bindir)/epminstall
|
||||
+ $(RM) $(DESTDIR)$(bindir)/mkepmlist
|
||||
+ $(CP) mkepmlist $(DESTDIR)$(bindir)
|
||||
echo Installing EPM manpages in $(mandir)/man1
|
||||
- -$(MKDIR) $(mandir)/man1
|
||||
- $(RM) $(mandir)/man1/epm.1
|
||||
- $(CP) $(srcdir)/doc/epm.man $(mandir)/man1/epm.1
|
||||
- $(RM) $(mandir)/man1/epminstall.1
|
||||
- $(CP) $(srcdir)/doc/epminstall.man $(mandir)/man1/epminstall.1
|
||||
- $(RM) $(mandir)/man1/mkepmlist.1
|
||||
- $(CP) $(srcdir)/doc/mkepmlist.man $(mandir)/man1/mkepmlist.1
|
||||
- $(RM) $(mandir)/man1/setup.1
|
||||
- $(CP) $(srcdir)/doc/setup.man $(mandir)/man1/setup.1
|
||||
+ -$(MKDIR) $(DESTDIR)$(mandir)/man1
|
||||
+ $(RM) $(DESTDIR)$(mandir)/man1/epm.1
|
||||
+ $(CP) $(srcdir)/doc/epm.man $(DESTDIR)$(mandir)/man1/epm.1
|
||||
+ $(RM) $(DESTDIR)$(mandir)/man1/epminstall.1
|
||||
+ $(CP) $(srcdir)/doc/epminstall.man $(DESTDIR)$(mandir)/man1/epminstall.1
|
||||
+ $(RM) $(DESTDIR)$(mandir)/man1/mkepmlist.1
|
||||
+ $(CP) $(srcdir)/doc/mkepmlist.man $(DESTDIR)$(mandir)/man1/mkepmlist.1
|
||||
+ $(RM) $(DESTDIR)$(mandir)/man1/setup.1
|
||||
+ $(CP) $(srcdir)/doc/setup.man $(DESTDIR)$(mandir)/man1/setup.1
|
||||
echo Installing EPM manpages in $(mandir)/man5
|
||||
- -$(MKDIR) $(mandir)/man5
|
||||
- $(RM) $(mandir)/man5/epm.list.5
|
||||
- $(CP) $(srcdir)/doc/epm.list.man $(mandir)/man5/epm.list.5
|
||||
- $(RM) $(mandir)/man5/setup.types.5
|
||||
- $(CP) $(srcdir)/doc/setup.types.man $(mandir)/man5/setup.types.5
|
||||
+ -$(MKDIR) $(DESTDIR)$(mandir)/man5
|
||||
+ $(RM) $(DESTDIR)$(mandir)/man5/epm.list.5
|
||||
+ $(CP) $(srcdir)/doc/epm.list.man $(DESTDIR)$(mandir)/man5/epm.list.5
|
||||
+ $(RM) $(DESTDIR)$(mandir)/man5/setup.types.5
|
||||
+ $(CP) $(srcdir)/doc/setup.types.man $(DESTDIR)$(mandir)/man5/setup.types.5
|
||||
echo Installing EPM documentation in $(docdir)
|
||||
- -$(MKDIR) $(docdir)
|
||||
- $(RM) $(docdir)/COPYING
|
||||
- $(CP) $(srcdir)/COPYING $(docdir)
|
||||
- $(RM) $(docdir)/README
|
||||
- $(CP) $(srcdir)/README $(docdir)
|
||||
- $(RM) $(docdir)/epm-book.html
|
||||
- $(CP) $(srcdir)/doc/epm-book.html $(docdir)
|
||||
+ -$(MKDIR) $(DESTDIR)$(docdir)
|
||||
+ $(RM) $(DESTDIR)$(docdir)/COPYING
|
||||
+ $(CP) $(srcdir)/COPYING $(DESTDIR)$(docdir)
|
||||
+ $(RM) $(DESTDIR)$(docdir)/README
|
||||
+ $(CP) $(srcdir)/README $(DESTDIR)$(docdir)
|
||||
+ $(RM) $(DESTDIR)$(docdir)/epm-book.html
|
||||
+ $(CP) $(srcdir)/doc/epm-book.html $(DESTDIR)$(docdir)
|
||||
|
||||
install-guis: setup uninst
|
||||
echo Installing EPM setup/uninst in $(libdir)/epm
|
||||
- $(RM) -r $(libdir)/epm
|
||||
- -$(MKDIR) $(libdir)/epm
|
||||
- $(CP) setup $(libdir)/epm
|
||||
- -$(STRIP) $(libdir)/epm/setup
|
||||
- $(CP) uninst $(libdir)/epm
|
||||
- -$(STRIP) $(libdir)/epm/uninst
|
||||
+ $(RM) -r $(DESTDIR)$(libdir)/epm
|
||||
+ -$(MKDIR) $(DESTDIR)$(libdir)/epm
|
||||
+ $(CP) setup $(DESTDIR)$(libdir)/epm
|
||||
+ -$(STRIP) $(DESTDIR)$(libdir)/epm/setup
|
||||
+ $(CP) uninst $(DESTDIR)$(libdir)/epm
|
||||
+ -$(STRIP) $(DESTDIR)$(libdir)/epm/uninst
|
||||
|
||||
install-osx:
|
||||
echo Installing EPM OSX data files in $(datadir)/epm
|
@ -1,6 +1,12 @@
|
||||
bin/epm
|
||||
bin/epminstall
|
||||
bin/mkepmlist
|
||||
man/man1/epm.1.gz
|
||||
man/man1/epminstall.1.gz
|
||||
man/man1/mkepmlist.1.gz
|
||||
man/man1/setup.1.gz
|
||||
man/man5/epm.list.5.gz
|
||||
man/man5/setup.types.5.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/epm-book.html
|
||||
|
Loading…
Reference in New Issue
Block a user