aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2009-11-07 19:10:17 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2009-11-07 19:10:17 +0000
commit56801ec95259683f532a896092ff8f85f338efdf (patch)
tree0ed23917c695fced776bb67829caa14a8c5cee5d /devel
parent79e531445b8dd6022b681028f0bdbb635bb9dd9e (diff)
downloadports-56801ec95259683f532a896092ff8f85f338efdf.tar.gz
ports-56801ec95259683f532a896092ff8f85f338efdf.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/rudiments/Makefile6
-rw-r--r--devel/rudiments/files/patch-Makefile32
2 files changed, 32 insertions, 6 deletions
diff --git a/devel/rudiments/Makefile b/devel/rudiments/Makefile
index f97a04a268c6..c1d0cea4a3b0 100644
--- a/devel/rudiments/Makefile
+++ b/devel/rudiments/Makefile
@@ -31,7 +31,7 @@ post-patch:
${WRKSRC}/doc/programming/insert.pl
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}
.for dirs in ${ROOTDIRS}
@${MKDIR} ${DOCSDIR}/${dirs}
.endfor
@@ -45,6 +45,10 @@ post-install:
${DOCSDIR}/programming
@${INSTALL_DATA} ${WRKSRC}/doc/programming/parts/*.html \
${DOCSDIR}/programming/parts
+ @${INSTALL_DATA} ${WRKSRC}/doc/*.html \
+ ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/*.gif \
+ ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/devel/rudiments/files/patch-Makefile b/devel/rudiments/files/patch-Makefile
index 7d6bb9be15ca..ac2b323385d7 100644
--- a/devel/rudiments/files/patch-Makefile
+++ b/devel/rudiments/files/patch-Makefile
@@ -1,13 +1,35 @@
---- Makefile.orig Thu Aug 5 09:41:03 2004
-+++ Makefile Tue Jan 11 15:57:25 2005
-@@ -31,8 +31,8 @@
- cd doc; $(MAKE) install
+--- Makefile.orig 2009-11-03 23:04:22.000000000 -0200
++++ Makefile 2009-11-03 23:06:57.000000000 -0200
+@@ -5,7 +5,7 @@
+ PWD=$(shell pwd)
+ .PHONY: all testprogs clean rebuild install-libs install-includes install-bin \
+- install-doc install-pc install uninstall unconfig distclean slackware
++ install-pc install uninstall unconfig distclean slackware
+
+ all:
+ cd src; $(MAKE) all
+@@ -30,20 +30,16 @@
+ install-bin:
+ cd bin; $(MAKE) install
+
+-install-doc:
+- cd doc; $(MAKE) install
+-
install-pc:
- $(MKINSTALLDIRS) $(libdir)/pkgconfig
- $(INSTALL) -m 0644 rudiments.pc $(libdir)/pkgconfig/rudiments.pc
+ $(MKINSTALLDIRS) $(prefix)/libdata/pkgconfig
+ $(INSTALL) -m 0644 rudiments.pc $(prefix)/libdata/pkgconfig/rudiments.pc
- install: install-libs install-includes install-bin install-doc install-pc
+-install: install-libs install-includes install-bin install-doc install-pc
++install: install-libs install-includes install-bin install-pc
+
+ uninstall:
+ cd src; $(MAKE) uninstall
+ cd include; $(MAKE) uninstall
+ cd bin; $(MAKE) uninstall
+- cd doc; $(MAKE) uninstall
+ $(RM) $(libdir)/pkgconfig/rudiments.pc
+ unconfig: clean