svn commit: r329282 - in head/devel/epm: . files
Baptiste Daroussin
bapt at FreeBSD.org
Fri Oct 4 10:18:26 UTC 2013
Author: bapt
Date: Fri Oct 4 10:18:25 2013
New Revision: 329282
URL: http://svnweb.freebsd.org/changeset/ports/329282
Log:
Stagify
Add a DOCS option
Added:
head/devel/epm/files/
head/devel/epm/files/patch-Makefile.in (contents, props changed)
Modified:
head/devel/epm/Makefile
head/devel/epm/pkg-plist
Modified: head/devel/epm/Makefile
==============================================================================
--- head/devel/epm/Makefile Fri Oct 4 10:18:12 2013 (r329281)
+++ head/devel/epm/Makefile Fri Oct 4 10:18:25 2013 (r329282)
@@ -9,7 +9,9 @@ MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVE
EXTRACT_SUFX= -source.tar.bz2
MAINTAINER= office at 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>
Added: head/devel/epm/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/epm/files/patch-Makefile.in Fri Oct 4 10:18:25 2013 (r329282)
@@ -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
Modified: head/devel/epm/pkg-plist
==============================================================================
--- head/devel/epm/pkg-plist Fri Oct 4 10:18:12 2013 (r329281)
+++ head/devel/epm/pkg-plist Fri Oct 4 10:18:25 2013 (r329282)
@@ -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
More information about the svn-ports-all
mailing list