- Enable staging

This commit is contained in:
Diane Bruce 2013-12-30 20:39:53 +00:00
parent 922baec84b
commit 15ed623558
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338167
3 changed files with 8 additions and 9 deletions

View file

@ -13,13 +13,9 @@ MAINTAINER= db@FreeBSD.org
COMMENT= Spectrum analyser
USES= gmake motif
NO_STAGE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
MAN1= xanalyser.1
PLIST_FILES= bin/xanalyser \
lib/X11/app-defaults/XAnalyser
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \

View file

@ -1,11 +1,11 @@
--- src/Makefile.in.orig 2010-05-25 13:20:23.000000000 -0400
+++ src/Makefile.in 2010-05-25 13:22:37.000000000 -0400
--- src/Makefile.in.orig 2008-12-06 06:52:34.000000000 -0500
+++ src/Makefile.in 2013-12-30 15:17:23.000000000 -0500
@@ -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%% \
+xanalyser_LDADD = -L/usr/local/lib -lXext -L/usr/local/lib -lXm -lXp \
+ -lXt -lSM -lICE -lXmu -lXpm -lX11 \
$(FFTWLDADD) $(ALSALDADD)
@ -16,8 +16,8 @@
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
+ mkdir -p ${DESTDIR}/usr/local/lib/X11/app-defaults
+ cp XAnalyser.ad ${DESTDIR}/usr/local/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:

View file

@ -0,0 +1,3 @@
bin/xanalyser
lib/X11/app-defaults/XAnalyser
man/man1/xanalyser.1.gz