~ubuntu-branches/ubuntu/breezy/kdemultimedia/breezy

« back to all changes in this revision

Viewing changes to bsd-port/kde-snapshot.mk

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-03-24 04:48:58 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050324044858-8ff88o9jxej6ii3d
Tags: 4:3.4.0-0ubuntu3
Add kubuntu_02_hide_arts_menu_entries.diff to hide artsbuilder and artscontrol k-menu entries

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#$Id: kde-snapshot.mk,v 1.4 1998/06/26 21:09:39 garbanzo Exp $
2
 
 
3
 
OSVERSION!=     sysctl -n kern.osreldate
4
 
 
5
 
CONFIGURE_ENV=  CXXFLAGS="$(CFLAGS)" \
6
 
                install_root=$(INSTALL_ROOT) \
7
 
                INSTALL_SCRIPT="install -c -m 555"
8
 
 
9
 
# Since there's nothing to fetch, we might as well use a dummy target
10
 
do-fetch:
11
 
                @true
12
 
# This should clean the KDE target pretty well
13
 
pre-clean:
14
 
                cd $(WRKSRC);$(GMAKE) clean   
15
 
 
16
 
# We need to go through Makefile.cvs before anything else.
17
 
pre-configure:
18
 
                cd $(WRKSRC);rm -f config.cache;$(GMAKE) -f Makefile.cvs
19
 
                rm -f $(PLIST)
20
 
post-install:
21
 
                ${MAKE} PREFIX=${PREFIX} make-plist
22
 
                cp -Rp ${INSTALL_ROOT}/* /
23
 
                rm -rf ${INSTALL_ROOT}
24
 
 
25
 
# This should finally work somewhat decently now
26
 
make-plist:
27
 
.if ${OSVERSION} >= 300000
28
 
                cd ${INSTALL_ROOT}/${PREFIX} && \
29
 
                        find ./ -type f|sed 's,^\./,,'|sort > $(PLIST)
30
 
                cd ${INSTALL_ROOT}/${PREFIX} && \
31
 
                        find ./ -type l|sed 's,^\./,,'|sort >> $(PLIST)
32
 
                @echo "@exec /sbin/ldconfig -m %B" >> $(PLIST)
33
 
                cd ${INSTALL_ROOT}/${PREFIX} && \
34
 
                        find ./ -type d|sed 's,^\./,@dirrm ,'|sort -r>> $(PLIST)
35
 
                @echo "@unexec /sbin/ldconfig -R" >> $(PLIST)
36
 
.else
37
 
                cd ${INSTALL_ROOT}/${PREFIX} && \
38
 
                        find ./ -type f|sed 's,^\.//,,'|sort > $(PLIST)
39
 
                cd ${INSTALL_ROOT}/${PREFIX} && \
40
 
                        find ./ -type l|sed 's,^\.//,,'|sort >> $(PLIST)
41
 
                @echo "@exec /sbin/ldconfig -m %B" >> $(PLIST)
42
 
                cd ${INSTALL_ROOT}/${PREFIX} && \
43
 
                        find ./ -type d|sed 's,^\.//,@dirrm ,'|sort -r>> $(PLIST)
44
 
                @echo "@unexec /sbin/ldconfig -R" >> $(PLIST)
45
 
.endif