diff options
author | Diane Bruce <db@FreeBSD.org> | 2010-05-27 00:32:09 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2010-05-27 00:32:09 +0000 |
commit | 968e2b6c7a419505bfaca2ea8bda097f01504d7c (patch) | |
tree | 43b4b1fe712610ad05cdca4085a1c7e58b8253b7 /audio/xanalyser | |
parent | 575a2505b0ae7e5d7d7c0cc2000e26c86d6e7063 (diff) | |
download | ports-968e2b6c7a419505bfaca2ea8bda097f01504d7c.tar.gz ports-968e2b6c7a419505bfaca2ea8bda097f01504d7c.zip |
Notes
Diffstat (limited to 'audio/xanalyser')
-rw-r--r-- | audio/xanalyser/Makefile | 9 | ||||
-rw-r--r-- | audio/xanalyser/distinfo | 6 | ||||
-rw-r--r-- | audio/xanalyser/files/patch-src_Makefile.in | 23 | ||||
-rw-r--r-- | audio/xanalyser/files/patch-xanalyser.spec.in | 10 |
4 files changed, 41 insertions, 7 deletions
diff --git a/audio/xanalyser/Makefile b/audio/xanalyser/Makefile index 30934a68ce87..86be6ea49760 100644 --- a/audio/xanalyser/Makefile +++ b/audio/xanalyser/Makefile @@ -6,8 +6,7 @@ # PORTNAME= xanalyser -PORTVERSION= 1.30 -PORTREVISION= 2 +PORTVERSION= 1.32 CATEGORIES= audio hamradio MASTER_SITES= http://arvin.schnell-web.net/xanalyser/ \ ${MASTER_SITE_LOCAL} @@ -26,7 +25,9 @@ PLIST_FILES= bin/xanalyser \ lib/X11/app-defaults/XAnalyser post-patch: - @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ - -e 's|-lXm |${MOTIFLIB} |g' ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + -e 's|%%MOTIFLIB%%|${MOTIFLIB} |g' \ + -e 's|%%PREFIX%%|${PREFIX}|g' \ + ${WRKSRC}/xanalyser.spec ${WRKSRC}/src/Makefile.in .include <bsd.port.mk> diff --git a/audio/xanalyser/distinfo b/audio/xanalyser/distinfo index 66a8c79d2903..0e26153add80 100644 --- a/audio/xanalyser/distinfo +++ b/audio/xanalyser/distinfo @@ -1,3 +1,3 @@ -MD5 (xanalyser-1.30.tar.bz2) = d57e4b6a80197a6fb1bbda5027d8c9bd -SHA256 (xanalyser-1.30.tar.bz2) = 290ee71b7005945978f11dca56001fec7d50e8b56ed226bd343e01bb0f5fdad1 -SIZE (xanalyser-1.30.tar.bz2) = 85955 +MD5 (xanalyser-1.32.tar.bz2) = 400a3035b5a1f893b97e205c6c6ea3fa +SHA256 (xanalyser-1.32.tar.bz2) = 8ca3f65bcaad92b1421912311da47e4aa1741a4bb1f422eaf85d75e5996f7946 +SIZE (xanalyser-1.32.tar.bz2) = 86086 diff --git a/audio/xanalyser/files/patch-src_Makefile.in b/audio/xanalyser/files/patch-src_Makefile.in new file mode 100644 index 000000000000..b5e2542c03df --- /dev/null +++ b/audio/xanalyser/files/patch-src_Makefile.in @@ -0,0 +1,23 @@ +--- src/Makefile.in.orig 2010-05-25 13:20:23.000000000 -0400 ++++ src/Makefile.in 2010-05-25 13:22:37.000000000 -0400 +@@ -194,7 +194,8 @@ + utils.cc utils.h \ + Trans.h + +-xanalyser_LDADD = -lXext -lXm -lXt -lSM -lICE -lXmu -lXpm -lX11 \ ++xanalyser_LDADD = -L%%LOCALBASE%%/lib -lXext %%MOTIFLIB%% \ ++ -lXt -lSM -lICE -lXmu -lXpm -lX11 \ + $(FFTWLDADD) $(ALSALDADD) + + EXTRA_DIST = XAnalyser.ad help.txt *.xpm +@@ -474,8 +475,8 @@ + txt2c help.txt > help.txt.h + + install-data-hook: +- mkdir -p $(DESTDIR)/usr/share/X11/app-defaults +- cp XAnalyser.ad $(DESTDIR)/usr/share/X11/app-defaults/XAnalyser ++ mkdir -p %%PREFIX%%/lib/X11/app-defaults ++ cp XAnalyser.ad %%PREFIX%%/lib/X11/app-defaults/XAnalyser + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/audio/xanalyser/files/patch-xanalyser.spec.in b/audio/xanalyser/files/patch-xanalyser.spec.in new file mode 100644 index 000000000000..081e4ddaba60 --- /dev/null +++ b/audio/xanalyser/files/patch-xanalyser.spec.in @@ -0,0 +1,10 @@ +--- xanalyser.spec.in.orig 2008-12-06 06:50:02.000000000 -0500 ++++ xanalyser.spec.in 2010-05-25 13:16:27.000000000 -0400 +@@ -47,6 +47,6 @@ + %defattr (-, root, root) + /usr/bin/xanalyser + %doc %{_mandir}/man1/xanalyser.1.gz +-%config /usr/share/X11/app-defaults/XAnalyser ++%config %%PREFIX%%/lib/X11/app-defaults/XAnalyser + + %changelog -n xanalyser |