From d9ba83d507acb753c747540097e247dd67a51489 Mon Sep 17 00:00:00 2001 From: errordeveloper Date: Wed, 12 May 2010 17:37:17 +0200 Subject: audio/pd: Updated for version 0.42.4 --- audio/pd/makefile.in.DESTDIR.diff | 58 --------------------------------------- audio/pd/pd.SlackBuild | 7 ++--- audio/pd/pd.info | 8 +++--- 3 files changed, 6 insertions(+), 67 deletions(-) delete mode 100644 audio/pd/makefile.in.DESTDIR.diff diff --git a/audio/pd/makefile.in.DESTDIR.diff b/audio/pd/makefile.in.DESTDIR.diff deleted file mode 100644 index 681c8d453c94c..0000000000000 --- a/audio/pd/makefile.in.DESTDIR.diff +++ /dev/null @@ -1,58 +0,0 @@ -Patch to make pd honor DESTDIR completely. -Permission is granted to use this patch as you see fit. - -- Robby Workman - - ---- pd-0.40-3/src/makefile.in.orig 2007-12-10 23:49:08.977673553 -0600 -+++ pd-0.40-3/src/makefile.in 2007-12-10 23:49:37.421067260 -0600 -@@ -145,31 +145,31 @@ - - BINARYMODE=@binarymode@ - --ABOUT_FILE=$(pddocdir)/1.manual/1.introduction.txt -+ABOUT_FILE=$(DESTDIR)/$(pddocdir)/1.manual/1.introduction.txt - install: all -- install -d $(libpdbindir) -- install $(BIN_DIR)/$(GUINAME) $(libpdbindir)/$(GUINAME) -- install $(BIN_DIR)/pd-watchdog $(libpdbindir)/pd-watchdog -- install -m644 $(BIN_DIR)/pd.tk $(libpdbindir)/pd.tk -+ install -d $(DESTDIR)/$(libpdbindir) -+ install $(BIN_DIR)/$(GUINAME) $(DESTDIR)/$(libpdbindir)/$(GUINAME) -+ install $(BIN_DIR)/pd-watchdog $(DESTDIR)/$(libpdbindir)/pd-watchdog -+ install -m644 $(BIN_DIR)/pd.tk $(DESTDIR)/$(libpdbindir)/pd.tk - install -d $(DESTDIR)$(bindir) - install $(BINARYMODE) $(PDEXEC) $(DESTDIR)$(bindir)/pd - install -m755 $(BIN_DIR)/pdsend $(DESTDIR)$(bindir)/pdsend - install -m755 $(BIN_DIR)/pdreceive $(DESTDIR)$(bindir)/pdreceive - for dir in $(shell ls -1 ../doc | grep -v CVS); do \ - echo "installing $$dir"; \ -- install -d $(pddocdir)/$$dir ; \ -- install -p ../doc/$$dir/*.* $(pddocdir)/$$dir ; \ -+ install -d $(DESTDIR)/$(pddocdir)/$$dir ; \ -+ install -p ../doc/$$dir/*.* $(DESTDIR)/$(pddocdir)/$$dir ; \ - done - for dir in $(shell ls -1 ../doc/7.stuff | grep -v CVS); do \ - echo "installing 7.stuff/$$dir"; \ -- install -d $(pddocdir)/7.stuff/$$dir ; \ -- install -p ../doc/7.stuff/$$dir/*.* $(pddocdir)/7.stuff/$$dir ; \ -+ install -d $(DESTDIR)/$(pddocdir)/7.stuff/$$dir ; \ -+ install -p ../doc/7.stuff/$$dir/*.* $(DESTDIR)/$(pddocdir)/7.stuff/$$dir ; \ - done - mv $(ABOUT_FILE) $(ABOUT_FILE).tmp - cat $(ABOUT_FILE).tmp | sed 's|PD_VERSION|Pd version $(PD_VERSION)|' \ - > $(ABOUT_FILE) - rm $(ABOUT_FILE).tmp -- cp -pr ../extra $(libpddir)/ -+ cp -pr ../extra $(DESTDIR)/$(libpddir)/ - rm -f $(libpddir)/extra/*/*.o - install -d $(DESTDIR)$(includedir) - install -m644 m_pd.h $(DESTDIR)$(includedir)/m_pd.h -@@ -212,7 +212,7 @@ - $(CC) $(CPPFLAGS) -M $(SRC) > makefile.dependencies - - uninstall: -- rm -f -r $(libpddir) -+ rm -f -r $(DESTDIR)/$(libpddir) - rm -f $(DESTDIR)$(bindir)/pd - rm -f $(DESTDIR)$(bindir)/pdsend - rm -f $(DESTDIR)$(bindir)/pdreceive diff --git a/audio/pd/pd.SlackBuild b/audio/pd/pd.SlackBuild index 81cbf406582de..821f9c3d09d73 100644 --- a/audio/pd/pd.SlackBuild +++ b/audio/pd/pd.SlackBuild @@ -9,7 +9,7 @@ # No additional license terms PRGNAM=pd -SRC_VERSION=0.40-3 +SRC_VERSION=0.42-4 VERSION=$(echo $SRC_VERSION | tr - .) ARCH=${ARCH:-i486} BUILD=${BUILD:-1} @@ -36,9 +36,6 @@ cd $PRGNAM-$SRC_VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# Fix DESTDIR support in the makefile source -patch -p1 < $CWD/makefile.in.DESTDIR.diff - cd src CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -52,7 +49,6 @@ cd src --enable-setuid make make install \ - pddocdir=/usr/doc/$PRGNAM-$VERSION \ DESTDIR=$PKG cd - @@ -65,6 +61,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a INSTALL.txt README.txt LICENSE.txt src/CHANGELOG.txt \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +ln -s /usr/lib/pd/doc/ $PKG/usr/doc/$PRGNAM-$VERSION/docs mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/audio/pd/pd.info b/audio/pd/pd.info index b9e9e72dabdf7..51254e1495007 100644 --- a/audio/pd/pd.info +++ b/audio/pd/pd.info @@ -1,8 +1,8 @@ PRGNAM="pd" -VERSION="0.40.3" +VERSION="0.42.4" HOMEPAGE="http://www-crca.ucsd.edu/~msp/software.html" -DOWNLOAD="http://www-crca.ucsd.edu/~msp/Software/pd-0.40-3.src.tar.gz" -MD5SUM="76212ab15736eec89d8745e73ab954a3" +DOWNLOAD="http://www-crca.ucsd.edu/~msp/Software/pd-0.42-4.src.tar.gz" +MD5SUM="13a0a5eeeb7ebcda10f86cff2558a59f" MAINTAINER="errordeveloper" EMAIL="errordeveloper[AT]gmail.com" -APPROVED="rworkman" +APPROVED="dsomero" -- cgit v1.2.3