aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-06 18:42:11 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-06 18:42:11 +0000
commit604c7a9b76c495da3947ccd4955462c0a4a09ed8 (patch)
tree079042435cf758cdad57f139e4a68fc4156c25ae
parentd160d39af867a805184d307fdc1d70fcfe4ab381 (diff)
downloadports-604c7a9b76c495da3947ccd4955462c0a4a09ed8.tar.gz
ports-604c7a9b76c495da3947ccd4955462c0a4a09ed8.zip
Notes
-rw-r--r--audio/flite/Makefile6
-rw-r--r--audio/flite/files/patch-Makefile19
2 files changed, 9 insertions, 16 deletions
diff --git a/audio/flite/Makefile b/audio/flite/Makefile
index 92841cf6d51a..b699ef072349 100644
--- a/audio/flite/Makefile
+++ b/audio/flite/Makefile
@@ -23,4 +23,10 @@ USE_LDCONFIG= yes
CFLAGS:= ${CFLAGS:N-O:N-O[0123456789]} -O0
+.ifndef NOPORTDOCS
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
.include <bsd.port.post.mk>
diff --git a/audio/flite/files/patch-Makefile b/audio/flite/files/patch-Makefile
index b37c81c0b7d4..1cb821de20d7 100644
--- a/audio/flite/files/patch-Makefile
+++ b/audio/flite/files/patch-Makefile
@@ -1,24 +1,11 @@
---- Makefile.orig 2005-11-01 14:40:45.000000000 +0100
-+++ Makefile 2008-03-31 15:19:26.000000000 +0200
-@@ -48,6 +48,7 @@
- FILES = Makefile README ACKNOWLEDGEMENTS COPYING $(CONFIG)
- DIST_CLEAN = config.cache config.log config.status \
- config/config config/system.mak FileList
-+DOCDIR= $(PREFIX)/share/doc/flite
-
- HOST_ONLY_DIRS = tools main
- ALL = $(BUILD_DIRS)
-@@ -108,10 +109,12 @@
- mkdir -p $(INSTALLBINDIR)
+--- Makefile.orig 2009-04-06 21:13:03.211475165 +0300
++++ Makefile 2009-04-06 21:15:03.930974602 +0300
+@@ -109,7 +109,7 @@
mkdir -p $(INSTALLLIBDIR)
mkdir -p $(INSTALLINCDIR)
-+ mkdir -p $(DOCDIR)
$(INSTALL) -m 644 include/*.h $(INSTALLINCDIR)
- @ $(MAKE) -C lib --no-print-directory install
+ $(INSTALL) -m 644 $(LIBDIR)/libflite* $(INSTALLLIBDIR)
$(INSTALL) -m 755 bin/flite $(INSTALLBINDIR)
$(INSTALL) -m 755 bin/flite_time $(INSTALLBINDIR)
-+ $(INSTALL) -m 644 README $(DOCDIR)
- time-stamp :
- @ echo $(PROJECT_NAME) >.time-stamp